Logstash 5.1 custom patterns auto reload

Hi Elastic Community,

I've been using logstash with the --config.reload.automatic (or -r) option to automatically reload the configuration however after some testing I came to understand that that option does not apply to custom patterns which probably is intentional.

I was wondering if there is any solution or workaround where logstash could pick up new custom patterns under the either the "patterns" folder or the one specified using "patterns_dir" without having to bounce the logstash instance.

Cheers,

Just want to add one thing I noticed as well.

It looks like when the configuration is editted and the pipeline is restarted only then the custom patterns are reloaded. Otherwise if changes are done just to the custom patterns file then the new patterns are not considered.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.