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!

Leveraging Detections from the Splunk Threat Research Team & Cisco Talos

  Now On Demand  Stay ahead of today’s evolving threats with the combined power of the Splunk Threat Research ...

New in Splunk Observability Cloud: Automated Archiving for Unused Metrics

Automated Archival is a new capability within Metrics Management; which is a robust usage & cost optimization ...

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...