mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
add example groktest config
This commit is contained in:
parent
594576a21e
commit
43a3360aab
1 changed files with 20 additions and 0 deletions
20
etc/examples/groktest.conf
Normal file
20
etc/examples/groktest.conf
Normal 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
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue