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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...