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!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...