[Hindsight] dynamically plugin loading?

Thomas.Bostelmann Thomas.Bostelmann at target.com
Thu Apr 13 03:31:09 UTC 2017


Is the dynamic plugin loading functionality described in the ‘Dynamic Plugin Loading’ section here working?

https://github.com/mozilla-services/hindsight/blob/master/docs/architecture.md

I’ve tried adding a .cfg file to the load/output directory using the default hindsight configuration:

output_path             = "output"
output_size             = 64 * 1024 * 1024
sandbox_load_path       = "load"
sandbox_run_path        = "run"
sandbox_install_path    = "/usr/share/luasandbox/sandboxes/heka"
analysis_threads        = 1
analysis_lua_path       = "/usr/lib/luasandbox/modules/?.lua;run/modules/?.lua"
analysis_lua_cpath      = "/usr/lib/luasandbox/modules/?.so;run/modeuls/?.so"
io_lua_path             = analysis_lua_path ..  ";/usr/lib/luasandbox/io_modules/?.lua"
io_lua_cpath            = analysis_lua_cpath .. ";/usr/lib/luasandbox/io_modules/?.so"
max_message_size        = 64 * 1024
backpressure            = 0
backpressure_disk_free  = 4
-- hostname                = "hindsight.example.com"

input_defaults = {
  -- see: Default Sandbox Configuration Variables
  -- output_limit           = 64 * 1024
  -- memory_limit           = 8 * 1024 * 1024
  memory_limit           = 128 * 1024 * 1024
  -- instruction_limit      = 1e6
  -- preserve_data          = false
  -- restricted_headers     = false
  -- ticker_interval        = 0
  -- shutdown_on_terminate  = false
}

analysis_defaults = {
  -- see: Default Sandbox Configuration Variables
}

output_defaults = {
  -- see: Default Sandbox Configuration Variables
  -- remove_checkpoints_on_terminate = false
}


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/hindsight/attachments/20170413/c42f83d2/attachment.html>


More information about the Hindsight mailing list