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!

Best Practices: Splunk auto adjust pipeline queue

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

Laser Bananas and Edge Hubs: Exploring Operational Technology (OT) Data Through a ...

  OT is a different environment to traditional IT and can have interesting challenges when interfacing the ...

Event Series: Mastering AI Tokenomics and Splunk Agent Observability

Beyond the Black Box: Correlating AI Performance and Tokenomics with Splunk Agent Observability   As ...