Getting Data In

Parsing XML log files?

terryloar
Path Finder

Does anyone have experience parsing XML log files? I would like to make the Trizetto Facets XML log output edible by Splunk.

Tags (1)

lguinn2
Legend

Many many people use Splunk to index and parse XML log files. Splunk treats these just like any other text input. You may need to tell Splunk how to break the XML into individual events and how to find the timestamp - usually that's pretty straightforward. Check out these links:

http://splunk-base.splunk.com/answers/52391/xml-input

http://splunk-base.splunk.com/answers/683/xml-input-line-breaking-and-field-extraction-how

Also, if you can post a (sanitized) clip of two or three sample events, the community can probably help you even more.

0 Karma
Get Updates on the Splunk Community!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...