Docs
DocumentationQuery ReferenceAPI Reference
Open Console→→
DocumentationQuery ReferenceAPI Reference

Platform overview

What is Axiom?QuickstartArchitectureFeatures
Fundamentals
Datasets
Edge deployments
Limits
Performance
Optimize usage
Requirements
Semantic conventions
Glossary
Tour
SecurityRoadmap

Send data

Reference architecturesMethods

Understand data

Console
Query
Builder
Editor
Query results
Visualize
Traces
Metrics
Correlations
Save queries
Stream
Dashboard
Create
Elements
Create
Configure
Element types
Gauge
Heatmap
Log stream
Monitor list
Note
Pie chart
Scatter plot
Statistic
Table
Time series
Sections
Configure
Filter
Monitor
Overview
View status
Configure
Examples
Monitor types
Anomaly
Match
New values
Threshold
Alerting
Overview
Configure
Notifier types
Amp
ChatGPT Workspace Agent
Claude Code
Cursor
Custom Webhook
Discord
Email
incident.io
Jira Service Management
Microsoft Teams
Opsgenie
PagerDuty
Slack
Annotations
Command Menu
Manage
Datasets
Overview
Views
Virtual fields
Access
RBAC
Tokens
CLI
Organization
Labels
Audit log
Settings
Usage and billing
Profile
Extend
Overview
AWS Lambda
AWS PrivateLink
Cloudflare Workers
Cloudflare Logpush
Convex
Grafana
Hex
Netlify
Supabase
Supabase metrics
Tailscale
Terraform
Unkey
Vercel
Intelligence
Overview
Spotlight
AI agents
Overview
MCP Server
Overview
Tools
Query cost limits
Agent-created orgs
Skills
Overview
Axiom alerting
Build dashboards
Control costs
SRE
Translate SPL to APL
Splunk
Overview
Splunk app
Install and configure
Commands
Traces
Examples
Portal
How it works
Set up standard mode
Set up transparent mode
Observability Cloud
OCSF data
OCSF as CIM
SPL command support
Examples
Monitor and troubleshoot

Use cases

ObservabilityProduct analytics
OCSF security data
Overview
Send data
Query data
LLM observability
Overview
Use Vercel AI SDK
Manual instrumentation
OpenAI Agents SDK
GenAI attributes
Redaction policies

Miscellaneous

LLMs
Overview
List of docs pages
Full docs
Query reference
FAQs
Legal
Acceptable use policy
Axiom for Startups terms
Committed use terms
Cookies
Data processing
HIPAA
Partner agreement
Partner program guide
Privacy policy
SLA
Terms of service
Terms of use
Understand data/Console

Pie chart

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

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 shows the proportion of HTTP requests that use each method, such as GET or POST.

Prerequisites

  • Create an Axiom account.
  • Create a dataset in Axiom where you send your data.
  • Send data to your Axiom dataset.
  • Create an empty dashboard.

Create a dashboard element

  1. In the sidebar, click Dashboards and open the dashboard to which you want to add the pie chart.
  2. Click Edit dashboard.
  3. Click Add element in the top right corner.
  4. Select Pie from the Add element menu (under Chart > Chart aggregation or Data).
  5. 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 Editor to create your chart using the Axiom Processing Language (APL). Create a chart in the same way you create a chart in the Editor.
  6. Optional: Configure the dashboard element.
  7. Click Save.

The new element appears in your dashboard. In the page header, click Save dashboard to save your changes to the dashboard.

Example with Builder

Select sample-http-logs, add the count aggregation, and group by method. Each slice shows the request count for one HTTP method.

Pie chart Builder with request counts grouped by HTTP method

Example with APL

APL
['sample-http-logs']
| summarize count() by method
Pie chart Editor with an APL query and HTTP method distribution
Was this page helpful?
Suggest edits on GitHub
PreviousNoteNextScatter plot
On this page
Example with BuilderExample with APL