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!

Recap | Agentic Operations Start with Context: Build the Right Data Foundation

Agentic Operations Start with Context: Build the Right Data Foundation   By Courtney Wright, Product Marketing ...

Recap | Assisted, Augmented or Agentic? Choose Your Splunk Starting Point

Assisted, Augmented or Agentic? Choose Your Splunk Starting Point   By Courtney Wright, Product Marketing ...

Session 2 | Beyond the Thread: Operationalizing AI with Confidence

Session 2   Beyond the Thread: Operationalizing AI with Confidence    The true power of the Cisco Data Fabric ...