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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Persistent Queue at TcpOut — One of Splunk's Most Practical Features

Splunk introduced persistent queueing at the tcpout layer as one of the most practical resilience features in ...

Skip the Awkward Silence: Have a .conf-ersation at .conf26

Picture this. You arrive at .conf26 already having your socializing and networking plans mapped out. No ...

Rethinking Zero Trust: From Product Purchases to Logical Control Evidence

Implementing Zero Trust (ZT) across complex environments often falters at the very beginning due to a ...