-
Notifications
You must be signed in to change notification settings - Fork 176
Open
Description
Hello,
I updated from 4.11 to 4.14 with the following input definition:
filebeat::input { 'syslog':
paths => ['/var/log/syslog.json'],
ignore_older => '10m',
close_older => '10m',
scan_frequency => '5s',
fields => { logtype => 'syslog', },
json => {
keys_under_root => true,
add_error_key => true,
overwrite_keys => true,
},
}and the corresponding line example from /var/log/syslog.json
{"@timestamp":"2023-07-17T21:02:55.407481+00:00","@version":"1","message":"Applied catalog in 24.84 seconds","host":"code-acceptance-db-1","severity":"notice","facility":"daemon","programname":"puppet-agent","procid":"9130"}
My issue being the programname no longer recognized as input field after the update.
After checking /etc/filebeat/conf.d/syslog.yml and the corresponding documentation I changed the current json into parsers.0.ndjson and I got the field back.
Is there another way to have the same behaviour than previously with the 4.14 version ?
Thank you !
Best regards,
OV
maartenschalekamp
Metadata
Metadata
Assignees
Labels
No labels