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!

New Dates, New City: Save the Date for .conf25!

Wake up, babe! New .conf25 dates AND location just dropped!! That's right, this year, .conf25 is taking place ...

Introduction to Splunk Observability Cloud - Building a Resilient Hybrid Cloud

Introduction to Splunk Observability Cloud - Building a Resilient Hybrid Cloud  In today’s fast-paced digital ...

Observability protocols to know about

Observability protocols define the specifications or formats for collecting, encoding, transporting, and ...