Splunk Dev

Group events within a transaction

myli12
Path Finder

Can you group events within a transaction?

Suppose that there are two types of events: "down" and "link" and sometimes there are multiple reports/events correponding to one unique "link" event (suppose link events happend within 10s refers to one event)

The following groups all the "link" events in between "down" in one transaction.

"link" or "down" | transaction endswith="down"

However, I cannnot further use transaction to group link events happening within 10s apart. Is there any search phrase that allows you to calculate the number of unique "link" events in between "down" events?

Tags (1)
0 Karma

dart
Splunk Employee
Splunk Employee

Can you clarify your question, perhaps with an example set of data?

Transaction does add a linecount property, which you might be able to use to determine the number of unique link events, possibly in conjunction with the dedup operator.

0 Karma
Get Updates on the Splunk Community!

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to Officially Supported Splunk ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI! Discover how Splunk’s agentic AI ...