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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

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