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!

September Community Champions: A Shoutout to Our Contributors!

As we close the books on another fantastic month, we want to take a moment to celebrate the people who are the ...

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...