Dashboards & Visualizations

Extracting Tag names into fields from XML

adityapavan18
Contributor

Hi I am new to Splunk, can anyone help me with extracting a particular XML Tag name.

Like

ns:OrderReference
urn1:BuyersID1234/urn1:BuyersID
urn1:SellersID1-1216/urn1:SellersID
/ns:OrderReference

I need to extract the tag with xpath OrderReference/BuyersID into a filed value.So how can i do that

Tags (4)
0 Karma
1 Solution

Ayn
Legend

xpath should do exactly what you want.

Info on xpath in the docs: http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Xpath

View solution in original post

Ayn
Legend

xpath should do exactly what you want.

Info on xpath in the docs: http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Xpath

Get Updates on the Splunk Community!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...