Hi Community,
searching a way for multiple indice output. In this case with a lot of different programs. Cisco ASA...
My inputs is syslog, forwarding rsyslog massages in type "syslog"
input {
syslog {
type => syslog
port => 10514
}
}
filter options are possible when using program:
else if [program] == "%ASA*" {
grok{
match => [
"message" , "%{GREEDYDATA:data} "
]
}
}
and output dosen't work with:
...
else if [program] == "%ASA*" {
elasticsearch {
hosts => [ "ip:9200" ]
index => "firewall-"
}
}
Any ideas ?