mozilla-services / hindsight

Hindsight - light weight data processing skeleton

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

If the loader is disabled and no plugins are running HS should exit

trink opened this issue · comments

Edge case from the discussion in #21

Would it be possible to configure hindsight to exit when any error occurs? e.g.:

1480069029397683273 [error] output.es ...box/sandboxes/heka/output/elasticsearch_bulk_api.lua:46: module 'encoders.elasticsearch.mozlog' not found:
        no file '/usr/lib/luasandbox/modules/encoders/elasticsearch/mozlog.lua'
        no file '/usr/lib/luasandbox/io_modules/encoders/elasticsearch/mozlog.l
1480069029397865693 [error] output_plugins output.es lsb_heka_create_output failed
1480069029397871525 [error] output_plugins output.es create_output_plugin failed

In this case input plugin works but it doesn't make much sense to process a message when it can't be stored to ES.