Dashboards & Visualizations

How do you calculate response time for events by field?

rohinisb91
Observer

Hi,

I have logs in the following format:

2018-10-31 16:00:00 START : run() for ruleId=xyz
2018-10-31 16:00:57 END : run() for ruleId=xyx

I want to plot a chart indicating the response times by ruleId. Any help is appreciated.

0 Karma
1 Solution

renjith_nair
Legend

@rohinisb91 ,
Try

index="your search" "START" OR "END"|stats range(_time) as difference by ruleId
Happy Splunking!

View solution in original post

0 Karma

renjith_nair
Legend

@rohinisb91 ,
Try

index="your search" "START" OR "END"|stats range(_time) as difference by ruleId
Happy Splunking!
0 Karma

rohinisb91
Observer

Thank you!

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...