Dashboards & Visualizations

Viewing Windows XML Logs in Splunk

jodros
Builder

I recently started ingesting a new windows event log as XML. It changed the format in Splunk web, but it isn't treating it as an XML file. We are ingesting other XML files and they are arranged in more of an XML view with expandable sections and coloring. The Windows XML logs are shown similar to the default view, line wrapped and no coloring. Is there a way to get Splunk web to display them as the other XML logs?

Tags (2)
0 Karma

JDukeSplunk
Builder

Have you tried the Splunk TA for Windows? This app handles windows logs very well. You may need to edit the inputs.conf to change the indexes and sourcetypes to your liking, but otherwise it is fairly turn-key.

https://splunkbase.splunk.com/app/742/

Otherwise you may want to try
|spath
or
|xmlkv

In your search.

https://docs.splunk.com/Documentation/SplunkCloud/6.6.0/SearchReference/Spath

http://docs.splunk.com/Documentation/SplunkCloud/6.6.0/SearchReference/Xmlkv

0 Karma