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!

From Data to Insight: Announcing the Winners of the Splunk Dashboard Contest

Hi Splunkers, First off, thank you to everyone who participated in our very first From Data to Insight: The ...

Splunk Developers: Construct Your Future at the .conf26 Builder Bar

Calling all Splunk architects, platform admins, and app developers: the site is open, and the blueprints are ...

Quick connection discovery mode for forwarders

When a Splunk forwarder loses connectivity to its indexers, it does not always reconnect immediately. In many ...