Running an existing conf file from logstash 1.4.2 with logstash-1.5.0.beta1 fails with :
The error reported is:
pattern %{WLSLOG} not defined
This seems to be because the grok plugin no longer defaults patterns_dir
to ./patterns
Fix is to change all uses of grok in conf
file to include patterns_dir
:
grok {
match => ["file", "%{WLSSERVER}", "file","%{OBISERVER}"]
}
becomes
grok {
match => ["file", "%{WLSSERVER}", "file","%{OBISERVER}"]
patterns_dir => "./patterns"
}
c.f. elastic/logstash#2406