add example groktest config

This commit is contained in:
Pete Fritchman 2011-05-20 03:20:01 -07:00
parent 594576a21e
commit 43a3360aab

View file

@ -0,0 +1,20 @@
# Useful config for testing grok expressions (update "pattern" below)
input {
stdin {
type => test
}
}
filter {
grok {
type => "test"
pattern => "%{SYSLOGLINE}"
}
}
output {
stdout {
debug => true
}
}