logstash-plugins/logstash-output-elasticsearch

Unify the error behaviour for template installation and ilm

kaisecheng opened this issue · 0 comments

We have two behaviors on errors in template and ilm.

  1. The plugin logs error message and is allowed to process events when it fails to install template, such as failing to read the template file.
  2. The plugin loops with error and is unable to handle events when it fails ilm check, such as policy not found.

The ideal outcome is to throw the errors and stop the corresponding pipeline when user's configuration is wrong and unable to finish the register phase