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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...