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!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Your Voice Matters! Help Us Shape the New Splunk Lantern Experience

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Building Momentum: Splunk Developer Program at .conf25

At Splunk, developers are at the heart of innovation. That’s why this year at .conf25, we officially launched ...