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!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...