Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Logstash 1.5: The error reported is: pattern ... not defined

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}"]


grok {
	match => ["file", "%{WLSSERVER}", "file","%{OBISERVER}"]
	patterns_dir => "./patterns"

This comment has been minimized.

Copy link
Owner Author

@rmoff rmoff commented Jan 27, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.