Splunk Search

How do I separate the results of a transaction to separately show each event?

gcusello
SplunkTrust
SplunkTrust

Hi at all,

I have to separate the results of a transaction to separately show each event.
I'd like to do this because I have to aggregate events into a transaction to verify some rules (eventcount), but after, I'd like to separately show events.

How can I do this?
thank you.
Bye.
Giuseppe

1 Solution

javiergn
Super Champion

Try this:

tag=SM 
| transaction sourcetype Application maxspan=300s mvraw=true
| eval myRaw = _raw
| mvexpand myRaw 
| rename myRaw as _raw

View solution in original post

woodcock
Esteemed Legend

Don't use transaction in the first place.

0 Karma

javiergn
Super Champion

Try this:

tag=SM 
| transaction sourcetype Application maxspan=300s mvraw=true
| eval myRaw = _raw
| mvexpand myRaw 
| rename myRaw as _raw

fdi01
Motivator

What is the query that you're using to generate the results?

0 Karma

gcusello
SplunkTrust
SplunkTrust

It's a very simple search:
tag=SM | transaction sourcetype Application maxspan=300s

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...