- add some example configs

This commit is contained in:
Jordan Sissel 2011-04-06 01:51:50 -07:00
parent 4d676dc28f
commit cb11e9ec5c
3 changed files with 53 additions and 0 deletions

View file

@ -0,0 +1,22 @@
input {
stdin { type => "foo" }
}
filter {
grep {
type => "foo"
match => [ "@message", ".*" ]
add_fields => [ "nagios_host", "%{@source_host}" ]
add_fields => [ "nagios_service", "example service" ]
add_fields => [ "nagios_annotation", "my annotation" ]
}
}
output {
stdout {
}
nagios {
commandfile => "/tmp/cmdfile"
}
}

View file

@ -0,0 +1,18 @@
input {
stdin { }
stomp {
host => "localhost"
destination => "/topic/foo"
}
}
output {
stdout {
debug => true
}
stomp {
host => "localhost"
destination => "/topic/foo"
}
}

View file

@ -0,0 +1,13 @@
input {
twitter {
user => "jls_api"
password => "Eif9oa8c"
keywords => ["http", "https"]
}
}
output {
stdout {
debug => true
}
}