Skip to main content
Splunk Lantern

Web application metrics visualization

You might want to chart key metrics related to application performance when doing the following:

Prerequisites 

In order to execute this procedure in your environment, the following data, services, or apps are required:

Example

The application support engineers in your organization need proactive and predictive monitoring in their application environments to trend past activity and predict future application requests per minute. You want to set up that search for them, as well as a few others.

To optimize the search shown below, you should specify an index and a time range. 

  1. Check that you have correctly installed and configured an application performance monitoring add-on, such as Splunk Add-on for New Relic or Splunk Add-on for AppDynamic.
  2. Run the following search: 
    tag=application tag=performance tag=apm app_title=* 
    | timechart span=5min avg(thruput) BY host
    
  3. Update the value in avg(thruput) to gather other key metrics and then run the search again. Some metrics you might want to track include:
    • response_time
    • eum_thruput
    • error_rate
    • health
    • availability

Search explanation

The table provides an explanation of what each part of this search achieves. You can adjust this query based on the specifics of your environment.

Splunk Search Explanation
tag=application tag=performance tag=apm   Search for events that are tagged as application, performance, or apm events.
app_title=* Search for any app title.
| timechart span=5min avg(thruput) BY host Graph the average throughput in 5 minute increments, grouped by host.

Result

For more granular results with scripted inputs, you can increase the frequency at which the input runs using the interval setting in inputs.conf. Running the input more frequently consumes more storage, and running it less frequently uses less, which can affect license consumption. The default interval is 60 seconds. 

  • Was this article helpful?