Dashboards & Visualizations

How to pull a complete xml from event.

harish_ka
Communicator

i need to pull complete xml from the event. i tried spath and xpath to pull particular key pair value, but i want the complete xml from the event. i tried rex but its not working. xml looks as below:
i need to pull the complete xml alt text

Tags (1)
0 Karma

juvetm
Communicator

hi harish_ka
can you try this commad
xmlkv commad
i think this may help
thanks

0 Karma

juvetm
Communicator

hi harish_ka
can you do some thing like this

 sourcetype="access_c*" | xmlkv | table TransactionId
0 Karma

harish_ka
Communicator

Thank Juvetm for your answer. But it didnt work for me 😞

0 Karma

harish_ka
Communicator

it will be really helpful if you Can give an example of xmlkv usage.
i tried search.....|xmlkv
but dont know how to get the values as output...

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...