_grokparsefailure
Posted: Tue Nov 25, 2014 11:18 pm
Hi
Needed some help with a potential poorly formed filter.
I have the below filter in place on my log server:
Now the above filter is working great for anything where it matches the SourceModuleName. However for everything else say a syslog entry for a router it will add tags with _grokparsefailure
Does anyone see what I am doing wrong?
Cheers,
Dom
Needed some help with a potential poorly formed filter.
I have the below filter in place on my log server:
Code: Select all
if [SourceModuleName] == 'adv_iis_log1.voy-web1-ec2' {
mutate {
replace => [ 'host', 'voy-web1-ec2' ]
}
}
if [SourceModuleName] == 'adv_iis_log1.voy-web2-ec2' {
mutate {
replace => [ 'host', 'voy-web2-ec2' ]
}
}Does anyone see what I am doing wrong?
Cheers,
Dom