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!

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...