We started sending ourbrocade sanswitch syslog messages to NLS last week. It seems some things don't get parses like it should, so I guess I'll have to start writing my first filter.
I made a specific port for all syslog messages from all our Brocade switches like this:
Code: Select all
syslog {
type => 'syslog-brocade'
port => 5547
}
Code: Select all
<188>mrt 02 08:51:25 10.54.97.17 raslogd: 2015/03/02-08:51:25, [TS-1001], 1545, WWN 10:00:00:05:33:72:f5:4f | FID 128, WARNING, AC_FSENC04_SANSWB02, NTP Query failed: 256.
I guess the filter would have to start with
Code: Select all
if [type] == 'syslog-brocade' {
grok {
match => [ 'message', '%{?}']
}
date {
match => [ 'timestamp', 'dd/MMM/yyyy:HH:mm:ss Z' ]
}
mutate {
??
}
}
Willem