Getting Data In

How to extract fields from JSON ?

kvnvkumar
Observer

Hi team,
I have the below my data format in splunk as EVENT, i am unable to extract data field wise. New to Splunk, Can any one support how to extract this.

{ [-]
log: 2019-10-15 11:56:47.066 INFO pappy-command-service:ppe [ankitvinay,baff9b4ace879603,baff9b4ace879603] 23 --- [single-1] c.t.a.p.i.m.c.CommandPublisherImpl : MSG=publishing to kafka, command=CreateApprovePromotion, step=publish, commandStatusId=a570668b-eaa9-44ed-ac90-ac1de811e14a, promotionId=null, status=success

stream: stdout
time: 2019-10-15T11:56:47.0664926Z
}

Tags (2)
0 Karma

Anantha123
Communicator

You can get data by using Spath command .
Go through the link below to have more visibility .
http://docs.splunk.com/Documentation/Splunk/6.3.3/SearchReference/spath

Thanks

0 Karma
Get Updates on the Splunk Community!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...