Splunk Dev

xml tags extraction

nerelluk
New Member

Hi All,

In splunk Enterprise is their any way to extract the XML tags not the xml fields .

ie .for example PFB xml

i want to extract that yellow shaded thing .Could any one please help me in this.

Thanks
Nerellu

Tags (1)
0 Karma

kamlesh_vaghela
SplunkTrust
SplunkTrust

@nerelluk

You can use xpath if you want to extract in search.

https://docs.splunk.com/Documentation/Splunk/7.2.3/SearchReference/Xpath

Or you can use props.conf and transforms.conf also. Check below link.

https://answers.splunk.com/answers/133533/xml-extraction.html?utm_source=typeahead&utm_medium=newque...

Can you please share your sample XML data and exactly what data you required in table ???

0 Karma
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...