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!

Tuning Edge Processor in Hybrid Mode: What Limits Each Data Path

When you run Edge Processor in hybrid mode, alongside a Splunk heavy forwarder on the same host, two questions ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...

Request for Professional Development: Attending .conf26

Winning Over the Boss: Your Pass to .conf26 conf26 is going to be here before you know it. If don't already ...