I am using Winlogbeat to collect Windows event logs and sending output to Logstash. But the problem is that I am missing message filed and instead I am seeing event_data filed. And inside event_data field there is another field named param1. Also I can see the multiple events with the same record_number. Can someone please explain what it means?
If you could give examples of what you are seeing (copy the JSON out of Kibana for the each example event) that would be helpful towards us providing an explanation.
If message is missing then there is probably a message_error field saying why.
event_data contains the raw data written by the Application that created the event. param1 is the first parameter logged in the event by the Application. Some apps use positional paramters rather than named parameters so you end up with param1, param2, ..., paramN. See Legacy Winlogbeat alias fields | Winlogbeat Reference [8.11] | Elastic
Each event log has its own record_number counter. So an event from the Application log can have the same record_number as an event from the Security log.
The second example event looks normal (it has a message).
That first one is missing the message so I'm wondering what shows up in the Windows Event Viewer for this message? Also could you add include_xml: true to the config for the Application log. This should show what information Windows is providing to Winlogbeat for that event. There will be an additional field called xml in each event from the Application log. Can you please share an event where it's missing message and has xml.
That's typically what the message field does, but does it based on a template like User [param1] logged in at [param2]. With Logstash you should be able to concatenate the fields as you wish. I'd probably try writing a ruby filter to iterate over each event_data field and join the values.
There's a file in C:\ProgramData\winlogbeat\.winlogbeat.yml that tells Winlogbeat where to resume from. You can delete that file and it will start from the beginning.
Yes this a tableau event. For security reasons I didn't include the complete error details. So, Server itself is dropping the message field. Is it acceptable?
Yes, the two events you posted previously were from separate sources. One was from "Server (Dataserver)" (Tableau) and the other from "Microsoft-Windows-Security-SPP". The source_name identifies the "thing" that logged the event. See our field docs for definitions of each field.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.