Statistic

This section explains how to create statistic dashboard elements and add them to your dashboard.

Statistics dashboard elements display a summary of the selected metrics over a given time period. For example, you can use a statistic dashboard element to show the average, sum, min, max, and count of response times or error counts.

Prerequisites

Create a dashboard element

  1. Go to the Dashboards tab and open the dashboard to which you want to add the statistic.
  2. Click Edit dashboard.
  3. Click Add element in the top right corner.
  4. Click Statistic from the list.
  5. Choose one of the following:
  6. Optional: Configure the dashboard element.
  7. Click Save.

The new element appears in your dashboard. At the bottom, click Save to save your changes to the dashboard.

Example with Builder

Statistic example with Builder

Example with APL

['sample-http-logs']
| summarize avg(resp_body_size_bytes)
Statistic example with APL