Splunk Search

Transactions events at the same second

aohls
Contributor

I am using the transaction command to identify if a report runs over a certain time. Below is my search:

| transaction startswith="Start" endswith="Finish" keeporphans=true
| where _txn_orphan=1

This primarily is working except there seem to be some false positives. If a report runs and finishes within the same second (which happens if a user forgets a parameter) Splunk is still counting it as orphaned, so _txn_orphan is still 1 but it should be 0 since it actually completed. Has anyone run into this and have a better way or workaround for this?

0 Karma

DavidHourani
Super Champion

Hi @aohls,

You can easily get rid of this by adding to your condition a minimum duration for the transaction. That way all those noisy transaction won't show anymore 🙂

Cheers,
David

0 Karma
Get Updates on the Splunk Community!

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

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

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...