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!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

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 ...