Getting Data In

Need help on breaking my json data to several events

robertbumanglag
Engager

I'm really stucked right now on my configuration for my json data below.

robertbumanglag_0-1608719516683.png

 

I'm currently building a data collector app in Splunk Add-on Builder. Here's the current configuration

robertbumanglag_1-1608719590840.png

 

My goal is to break the Integration_Business_Process_Events_group sub values into another event but should retain parent event details. So instead of having 1 event, I should have 6 events.

 

Hope for your answers. I already look into to the other similar problem like this by I'm getting more confuse.

 

Thanks everyone!

0 Karma
1 Solution

to4kawa
Ultra Champion

props.conf can't extract what you want.

try following:

index=your_index sourcetype=your_sourcetype
| spath Integration_Business_Process_Events_group{} output=IBPEg
| mvexpand IBPEg
| spath
| spath input=IBPEg
| fields - Integration_Business_Process_Events_group* IBPEg _raw
| table *

 

View solution in original post

to4kawa
Ultra Champion

props.conf can't extract what you want.

try following:

index=your_index sourcetype=your_sourcetype
| spath Integration_Business_Process_Events_group{} output=IBPEg
| mvexpand IBPEg
| spath
| spath input=IBPEg
| fields - Integration_Business_Process_Events_group* IBPEg _raw
| table *

 

robertbumanglag
Engager

Hi! Thanks, this helped.

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!

ATTENTION: We’re Moving! (AGAIN!)

The Splunk Community Slack is undergoing a system migration to keep our workspace secure and ...

Deep Dive: Optimizing Telemetry Pipelines in Splunk Observability Cloud

In this session, we will peel back the layers of Splunk Observability Cloud’s cost-optimization features. ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...