Gentlemen,
We are using https://splunkbase.splunk.com/app/1914/
Splunk is not extracting all the fields visible in the Windows Sysmon events. It leaves out lot of fields.
This is what i suspect is the cause, but need someone to advise if i am on the right track.
In the events, the SourceType shows as: WinEventLog:Microsoft-Windows-Sysmon/Operational
However, On my Search Head when i go to Settings >> SourceTypes >> ALL , i see a different name: XmlWinEventLog:Microsoft-Windows-Sysmon/Operational
There is no source type here by the name of WinEventLog:Microsoft-Windows-Sysmon/Operational
Is the conflict of different sourcetype names causing the issue ? What needs to be done to fix ?
Things i tried...
1. Added the following in inputs.conf to make it format as per XML
[WinEventLog://Microsoft-Windows-Sysmon/Operational]
renderXML=true
sourcetype=XMLWinEventLog:Microsoft-Windows-Sysmon/Operational
This did extract all the fields but ended up showing the events in XML format . How can i keep the default /original format of displaying Windows events yet make it extract all the fields ?
Thanks all
You made two changes, renderXML and sourcetype, and got two results - fields extracted and XML format. I believe the field extraction is the result of changing the sourcetype. Changing renderXML back should fix the XML problem.
Thank you. Ended up being as simple as what you suggested 🙂 😀
Have you tried setting renderXML = false?
Thanks for responding. Earlier I was trying without mentioning the renderXml parameter at all in my input.conf, as it's default value is false. But that did not solve the original problem.
Meaning it does display the events in regular Windows event format as we are used to but does not extract all fields. About Less than 10 fields are extracted.
On the other hand If we make the events render as xml then all fields get extracted successfully.
Wonder if this is how the TA for sysmon works? Is it by design ?
You made two changes, renderXML and sourcetype, and got two results - fields extracted and XML format. I believe the field extraction is the result of changing the sourcetype. Changing renderXML back should fix the XML problem.