Hey guys, i'm not able to send a nested field in the syslog output plugin.
syslog {
host => "1.7.3.9"
rfc => "rfc5424"
codec => cef
{
delimiter => "|"
fields => [
"[destination][ip]",
"message"
]
}
}
Not nested fields like message works good.
I've tried in syslog output fields array:
[destination][ip]
destination.ip
%{destination.ip}
%{[destination.ip]}
%{[destination][ip]}
In the elasticsearch JSON documents the destination.ip field looks like:
"destination": {
"domain": "mysrv.mydomain",
"port": 80,
"ip": "12.1.2.1"
}
Thanks
Regards,
Sergey