[Hindsight] dynamically plugin loading?

Michael Trinkala mtrinkala at mozilla.com
Thu Apr 13 13:44:17 UTC 2017


Yes, it is triggered with inotify (so Hindsight must be running to pickup
the change). Otherwise you would just put it in the run directory and start
Hindsight.

Trink

On Wed, Apr 12, 2017 at 8:31 PM, Thomas.Bostelmann <
Thomas.Bostelmann at target.com> wrote:

> 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
> }
>
>
>
>
>
> _______________________________________________
> Hindsight mailing list
> Hindsight at mozilla.org
> https://mail.mozilla.org/listinfo/hindsight
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/hindsight/attachments/20170413/59b2c99b/attachment.html>


More information about the Hindsight mailing list