Splunk Enterprise

how to calculate the difference in time for change in status of a transaction?

sarvesh_11
Communicator

Hello Splunkers,

I want to calculate the time difference between the change in state of eventtype for each transation ID.

 

sarvesh_11_0-1659083201654.png

 

Labels (2)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust

Try something like this

| streamstats range(timestamp) as difference window=2 global=f by transactionid

View solution in original post

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Try something like this

| streamstats range(timestamp) as difference window=2 global=f by transactionid
0 Karma
Get Updates on the Splunk Community!

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...