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!

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...