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!

Happy CX Day to our Community Superheroes!

Happy 10th Birthday CX Day!What is CX Day? It’s a global celebration recognizing innovation and success in the ...

Check out This Month’s Brand new Splunk Lantern Articles

Splunk Lantern is a customer success center providing advice from Splunk experts on valuable data insights, ...

Routing Data to Different Splunk Indexes in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. The OpenTelemetry project is the second largest ...