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!

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...