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

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 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 statistic.
  2. Click Edit dashboard.
  3. Click Add element in the top right corner.
  4. Select Statistic 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 and add the avg(req_duration_ms) aggregation. In the chart settings, enable Line chart to show how the average request duration changes over time.

Statistic example with Builder

Example with APL

Use bin_auto(_time) to return values over time for the line chart.

APL
['sample-http-logs']
| summarize avg(req_duration_ms) by bin_auto(_time)
Statistic example with APL

Settings

Use the settings panel on the right to configure the statistic element:

  • Chart > Line chart: Display a sparkline showing values over time alongside the summary value.
  • Value > Custom units: Display a unit after a plain number (for example, 4.7 with % shows 4.7%), or replace a unit parsed from a text value (for example, 5GB with GiB shows 5GiB). If the value already shows its own unit (a duration, or a value whose field unit is bytes, percent, or currency), custom units don't apply and Axiom keeps the saved setting. To use your own unit, convert the value to a plain number in the query first (for example, duration / 1ms), then set Custom units.
  • Value > Decimal places: Set the number of decimal places to display.
  • Theme > Theme and Background: Choose the color theme and background style.
  • Y-axis > Scale and Zero: Set the vertical axis scale for the line chart and whether to include zero.
Was this page helpful?
Suggest edits on GitHub
PreviousScatter plotNextTable
On this page
Example with BuilderExample with APLSettings