- move stuff around

This commit is contained in:
Jordan Sissel 2011-04-09 02:03:22 -07:00
parent 17575b4fde
commit ffc0d6b923

30
etc/examples/indexer.conf Normal file
View file

@ -0,0 +1,30 @@
input {
amqp {
host => "127.0.0.1"
user => "guest"
pass => "guest"
exchange_type => "topic"
name => "testing"
type => "all"
}
tcp {
port => 1234
type => "linux-syslog"
}
}
filter {
grok {
type => "linux-syslog"
pattern => ["%{SYSLOG_SUDO}", "%{SYSLOG_KERNEL}", "%{SYSLOGLINE}"]
add_tag => "grok"
add_field => ["test_key", "the pid is %{pid}"]
}
}
output {
stdout {
debug => true
}
}