Search-ESsearcher/logstash/conf.d/rsyslog.conf

19 lines
226 B
Plaintext

input {
udp {
host => "192.168.14.3"
port => 10514
codec => "json"
type => "rsyslog"
}
}
filter { }
output {
if [type] == "rsyslog" {
elasticsearch {
hosts => [ "127.0.0.1:9200" ]
}
}
}