I have multiple grok filters but I point all of them to a single patterns_dir like below.
grok { patterns_dir => ["/usr/share/logstash/patterns" ] }
grok { patterns_dir => ["/usr/share/logstash/patterns" ] }
If I move all my custom patterns into
/usr/share/logstash/vendor/bundle/jruby/2.3.0/gems/logstash-patterns-core-4.1.2/patterns/
then I don't have to declare any patterns_dir.
Can I define a custom patterns_dir once in logstash that all groks will get?
I would rather keep my patterns separate from the core patterns_dir but don't want to define the same location over and over again.