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!

[Puzzles] Solve, Learn, Repeat: Reprocessing XML into Fixed-Length Events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

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