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!

Leveraging Detections from the Splunk Threat Research Team & Cisco Talos

  Now On Demand  Stay ahead of today’s evolving threats with the combined power of the Splunk Threat Research ...

New in Splunk Observability Cloud: Automated Archiving for Unused Metrics

Automated Archival is a new capability within Metrics Management; which is a robust usage & cost optimization ...

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...