Knowledge Management

Latency between transactions

josekuzh
New Member

I have logs which show a transaction with clear startswith and endswith tabling the duration taken like so

source=*.csv | transaction E2ETxnSeq startswith="StartInbound" endswith="EndInbound" | table duration

I'm looking for finding the latency between transactions (or actually the idle time between traansactions) so how do I pipe the above output to calculate the delta ?

Thanks

Tags (1)
0 Karma

josekuzh
New Member

actually they occasionally can but i can ignore those cases

0 Karma

Ayn
Legend

If transactions do not overlap, I imagine you could use delta for this.

source=*.csv | transaction E2ETxnSeq startswith="StartInbound" endswith="EndInbound" | delta _time AS transactionlatency | eval transactionlatency=-transactionlatency | table duration transactionlatency
0 Karma

josekuzh
New Member

I've tried this and transactionlatency is always 0 which doesnt match our data set. Still checking

0 Karma

lguinn2
Legend

Can transactions overlap?

0 Karma
Get Updates on the Splunk Community!

Faster Insights with AI, Streamlined Cloud-Native Operations, and More New Lantern ...

Splunk Lantern is a Splunk customer success center that provides practical guidance from Splunk experts on key ...

Splunk Enterprise Security: Your Command Center for PCI DSS Compliance

Every security professional knows the drill. The PCI DSS audit is approaching, and suddenly everyone's asking ...

Developer Spotlight with Guilhem Marchand

From Splunk Engineer to Founder: The Journey Behind TrackMe    After spending over 12 years working full time ...