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.pngrobertbumanglag_0-1608719516683.png

 

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

robertbumanglag_1-1608719590840.pngrobertbumanglag_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!

Developer Spotlight with Denis Gladkikh

From Splunk Engineer to Kubernetes App Builder Denis GladkikhWhat happens when a lifelong developer turns a ...

Governing Enterprise AI, Bringing Cisco Telemetry Home, and More from Splunk Lantern

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...

Agentic SOC Triage: Investigating Splunk ES Notables with MCP Server and a Local LLM

The Problem: Too Many Alerts, Too Little Context Security operations teams running Splunk Enterprise Security ...