Splunk Enterprise Security

How to parse XML log?

diksha1
New Member

Hi All,

We are getting XML logs in our Splunk but from investigation perspective it's very hard for us to read the data . Is there a way we can parse it?

Labels (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

There are a few ways to parse XML logs, including the rex, spath, xmlkv, xmlunescape, and xpath commands.  Which to use depends on your data and what you need to extract from it. 

Please provide more information.  What have you tried so far?  What does your data look like?  What are you trying to get out of it?

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...

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 ...