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/AI agents

Translate SPL to APL skill

This page explains how to use the Translate SPL to APL skill to give AI coding agents the ability to convert Splunk queries to Axiom.

The Translate SPL to APL skill helps AI agents translate Splunk queries to Axiom:

  • Command mappings: Complete translation of SPL commands to APL operators
  • Function equivalents: Mapping of SPL functions to APL functions
  • Syntax transformations: Handle differences in time handling, field escaping, and query structure
  • Common patterns: Ready-to-use translations for frequent query patterns
  • Performance tips: Guidance on writing efficient APL queries

Prerequisites

  • Create an Axiom account.
  • Create a dataset in Axiom where you send your data.
  • Create an API token in Axiom with permissions to ingest data to the dataset you have created.

Install Axiom Skills

Install Axiom Skills as a plugin to get all skills together with the hosted Axiom MCP Server (using OAuth), or use the standalone skills installer.

Install as a plugin

  • Claude Code:

    shell
    claude plugin marketplace add axiomhq/skills
    claude plugin install axiom@axiom

    Restart Claude Code, and then run /mcp to authorize Axiom in your browser.

  • Codex:

    shell
    codex plugin marketplace add axiomhq/skills
    codex plugin add axiom@axiom

    Authorize Axiom in your browser when prompted. If you already added Axiom MCP manually, keep one connection to avoid duplicate tools.

  • Cursor:

    On Teams or Enterprise plans, an admin must enable Allow Local Plugin Imports, or import axiomhq/skills through Plugins & MCPs > Add Marketplace > Import from Repo in the Cursor dashboard. To install locally, clone into Cursor’s local plugin directory:

    shell
    git clone https://github.com/axiomhq/skills.git ~/.cursor/plugins/local/axiom

    Reload Cursor and authorize Axiom when prompted.

  • Amp:

    Clone into Amp’s system plugin directory, and then add Axiom MCP Server separately (Amp plugins can’t declare MCP servers):

    shell
    git clone https://github.com/axiomhq/skills.git ~/.config/amp/plugins/axiom
    amp mcp add axiom https://mcp.axiom.co/mcp

    Restart Amp and authorize Axiom when prompted.

  • Gemini CLI:

    shell
    gemini extensions install https://github.com/axiomhq/skills

    Restart Gemini CLI, and then run /mcp auth axiom to authorize Axiom.

Install standalone skills

To install all skills:

shell
npx skills add axiomhq/skills

This command installs skills without configuring Axiom MCP. For alerting, dashboard, and cost-control workflows, connect Axiom MCP Server separately and sign in.

Connect Axiom MCP

For alerting, dashboard, and cost-control tasks, connect Axiom MCP Server and sign in to your Axiom organization. These skills use MCP for all Axiom operations. No ~/.axiom.toml file or SRE configuration is required.

If MCP is disconnected or authentication fails, the agent asks you to connect or sign in before continuing. If a task requires a tool or permission you lack, the agent explains what is missing.

Configure Axiom credentials

For skills that access Axiom through scripts, configure credentials separately from MCP authentication:

  • For the SRE skill, follow Set up the SRE skill to configure ~/.config/axiom-sre/config.toml.
  • For the ingest skill, use ~/.axiom.toml to select an existing organization. Grant the token ingest permission. To create a dataset or verify the ingested data with a query, also grant the matching create or query permission. For a temporary organization, the create organization skill stores the credentials during setup.

For ingestion into an existing organization, use this configuration:

TOML
[deployments.dev]
url = "https://api.axiom.co"
token = "API_TOKEN"
org_id = "ORGANIZATION_ID"
edge_url = "AXIOM_DOMAIN"
Info

Replace API_TOKEN with the Axiom API token you have generated. For added security, store the API token in an environment variable.

Replace ORGANIZATION_ID with your organization ID. For more information, see Determine organization ID.

Replace AXIOM_DOMAIN with the base domain of your edge deployment. For more information, see Edge deployments.

For token creation and scoping guidance, see Token hygiene for AI agents.

Use Translate SPL to APL skill

The Translate SPL to APL skill activates automatically when you ask your AI agent to:

  • Translate SPL queries to APL
  • Migrate Splunk queries to APL
  • Find APL equivalents of SPL commands
  • Convert Splunk dashboards or saved searches

Example prompts:

  • "Convert this SPL query to APL: index=logs | stats count by host"
  • "What's the APL equivalent of timechart span=5m count by status?"
  • "Translate this Splunk search to APL"
  • "How to write eval statements in APL?"
Was this page helpful?
Suggest edits on GitHub
PreviousSystem Reliability Engineering (SRE) skillNextAxiom and Splunk
On this page
Use Translate SPL to APL skill