bug / inconsistency: For the config below:
- TCP adds a field with the IP address, eg { ... "logHost" => "127.0.0.1" }
- UDP adds the literal "%{host}", eg { ... "logHost" -> "%{host}" }
input {
tcp {
port => "514"
add_field => {
"logHost" => "%{host}"
}
}
udp {
port => "514"
add_field => {
"logHost" => "%{host}"
}
}
}
I add this field to make auditing / monitoring logging coverage easier.
The fix is simple, decorate is being called before event["host"] is being set.
patch.txt
bug / inconsistency: For the config below:
I add this field to make auditing / monitoring logging coverage easier.
The fix is simple, decorate is being called before event["host"] is being set.
patch.txt