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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...