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!

AI for AppInspect

We’re excited to announce two new updates to AppInspect designed to save you time and make the app approval ...

App Platform's 2025 Year in Review: A Year of Innovation, Growth, and Community

As we step into 2026, it’s the perfect moment to reflect on what an extraordinary year 2025 was for the Splunk ...

Operationalizing Entity Risk Score with Enterprise Security 8.3+

Overview Enterprise Security 8.3 introduces a powerful new feature called “Entity Risk Scoring” (ERS) for ...