Skip to main content
Pie charts can illustrate the distribution of different types of event data. Each slice represents the proportion of a specific value relative to the total. For example, a pie chart can show the breakdown of status codes in HTTP logs. This helps quickly identify the dominant types of status responses and assess the system’s health at a glance.

Prerequisites

Create

  1. Go to the Dashboards tab and open the dashboard to which you want to add the .
  2. Click Add element in the top right corner.
  3. Click from the list.
  4. Choose one of the following:
    • Click Builder to create your chart using a visual query builder. For more information, see Create chart using visual query builder.
    • Click APL to create your chart using the Axiom Processing Language (APL). Create a chart in the same way you create a chart in the APL query builder of the Query tab.
  5. Optional: Configure the dashboard element.
  6. Click Save.
The new element appears in your dashboard. At the bottom, click Save to save your changes to the dashboard.

Example with Builder

Pie chart example with Builder

Example with APL

['sample-http-logs']
| summarize count() by status
Pie chart example with APL