How to do it...

Follow these steps to search and calculate web page response time statistics over the past week:

  1. Log in to your Splunk server.
  2. Select the Search & Reporting application.
  3. Ensure that the time range picker is set to Last 7 Days and type the following search into the Splunk search bar. Then, click on Search or hit Enter:
sourcetype=access_combined | timechart span=6h avg(response) AS avg_response | eval avg_response=round(avg_response/1000,2)
  1. Splunk will return a tabulated list, detailing the average response times for every six-hour period going back a week, as shown in the following screenshot:
  2. This is great, but is hard ...

Get Splunk Operational Intelligence Cookbook - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.