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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Meet the .conf26 AI Agent Buildathon Winners

At the .conf26 AI Agent Buildathon, Splunk users turned their operational expertise into working AI agents ...

Trusted Autonomy in the SOC: A Maturity Journey

AI is compressing attacker timelines and pushing SOC teams beyond human capacity thresholds. The next SOC ...

Supercharging Windows Security Detection Performance: Introducing Hybrid Field ...

Windows event logs—from Security auditing and Sysmon to PowerShell script blocks—form the operational backbone ...