logstash-filter-grok
logstash-filter-grok copied to clipboard
remove the use of a class instance variable for holding pattern paths
There's no need to have a class variable (@@patterns_path). During register time just include the 2 paths in @patterns_dir.
+1
This is a relic of The Land Before Time (ancient logstash) when there was a --grok-patterns-path flag that is now long-gone.