How to do it...

Follow these steps to chart the number of method requests by type and host:

  1. Log in to your Splunk server.
  2. Select the default Search & Reporting application.
  3. Ensure that the time range picker is set to Last 24 hours, and type the following search into the Splunk search bar. Then, click on Search or hit Enter:
index=main sourcetype=access_combined | chart count by  host,method
  1. Splunk will return a tabulated list of total counts for each method request split by host.
  2. Click on the Visualization tab.
  3. Click on the dropdown that lists the visualization types, and select Column.
  1. Your data should now be visualized as shown in the following screenshot:
  1. Save this report by clicking on Save As and then on Report. Name the report ...

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.