Getting Data In

How can we access perfect json events after applying the transaction command?

ddrillic
Ultra Champion

With lots of help here, we adjusted the incoming data to be perfect json structures and name value pairs are extracted nicely now that each json document is mapped to one Splunk event.

We would like know to proceed and use the transaction command. But by applying the transaction command, we'll lose the perfect json structure, right?

What can be done?

Tags (1)
0 Karma

micahkemp
Champion

My question would be, "what do you want to do with the JSON structures after you've run transaction? Could you accomplish what you need without transaction (often possible, but not always)? And perhaps do you really need the JSON structures of individual events at the end of all of that?

0 Karma

elliotproebstel
Champion

When you use transaction, that will create multi-value fields out of fields that exist in multiple events that are being combined. But that's always true when you use transaction, so it's really no different than using it with events of other structures. Or am I missing what you're saying here?

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 ...