Getting Data In

How to add and parse XML data in Splunk?

gitingua
Communicator

how parsing xml data ?

 

 

<v8e:Event>
<v8e:Level>Information</v8e:Level>
<v8e:Date>2022-01-26T16:20:24</v8e:Date>
<v8e:ApplicationName>Job</v8e:ApplicationName>
<v8e:ApplicationPresentation>Фоновое</v8e:ApplicationPresentation>
<v8e:Event>Finish</v8e:Event>
<v8e:EventPresentation>Сеанс</v8e:EventPresentation>
<v8e:User>Jong Wik</v8e:User>
<v8e:UserName>Корот</v8e:UserName>
<v8e:Computer>srv-2-srv</v8e:Computer>
<v8e:Metadata/>
<v8e:MetadataPresentation/>
<v8e:Comment/>
<v8e:Data xsi:nil="true"/>
<v8e:DataPresentation/>
<v8e:TransactionStatus>NotApplicable</v8e:TransactionStatus>
<v8e:TransactionID/>
<v8e:Connection>0</v8e:Connection>
<v8e:Session>5146</v8e:Session>
<v8e:ServerName/>
<v8e:Port>0</v8e:Port>
<v8e:SyncPort>0</v8e:SyncPort>
</v8e:Event>
Labels (8)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

spath will extract the fields from the events

| spath
0 Karma
Get Updates on the Splunk Community!

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...

Purpose in Action: How Splunk Is Helping Power an Inclusive Future for All

At Cisco, purpose isn’t a tagline—it’s a commitment. Cisco’s FY25 Purpose Report outlines how the company is ...

[Upcoming Webinar] Demo Day: Transforming IT Operations with Splunk

Join us for a live Demo Day at the Cisco Store on January 21st 10:00am - 11:00am PST In the fast-paced world ...