Quantcast
Channel: Questions in topic: "splunk-enterprise"
Viewing all articles
Browse latest Browse all 47296

How to calculate the average duration of each steps within a transaction?

$
0
0
Hi, I have events indexed in the following format: type=a transactionID=xxxxxxxxxxx status=Created lastUpdateTime=_time type=a transactionID=xxxxxxxxxxx status=Processing lastUpdateTime=_time type=a transactionID=xxxxxxxxxxx status=Held lastUpdateTime=_time type=a transactionID=xxxxxxxxxxx status=Completed lastUpdateTime=_time type=b transactionID=yyyyyyyyyyy status=Created lastUpdateTime=_time type=b transactionID=yyyyyyyyyyy status=Processing lastUpdateTime=_time type=b transactionID=yyyyyyyyyyy status=Held lastUpdateTime=_time type=b transactionID=yyyyyyyyyyy status=Completed lastUpdateTime=_time Although it's easy to calculate the duration of each step (status change) for one transaction (I can use delta or autoregress lastUpdateTime on a eval'ed duration), how can I calculate the average duration of each step per type for a given day, so I can plot an average line on a chart against a particular transaction?

Viewing all articles
Browse latest Browse all 47296

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>