Axiom for Splunk app examples
Worked examples for the Axiom for Splunk app, from exploring datasets to enriching Splunk events with Axiom context.
These examples show common workflows with the Axiom for Splunk app. Each one pushes the expensive part of the search into Axiom, returns a focused result set, and uses normal SPL for presentation. Replace the dataset and field names with your own.
Explore an unfamiliar dataset
Start with the discovery commands when you’re learning what a dataset contains:
Investigate errors
Use axsearch for event searches where you want Splunk-like syntax and event-shaped rows back. The Splunk time picker controls the Axiom query window, so a search over Last 60 minutes queries the same hour in Axiom:
The returned rows are real Splunk events, so everything downstream is normal SPL:
Aggregate at scale
Use axstats when the next thing you want is a grouped table. The aggregation runs inside Axiom, so it stays exact over any number of events and only the grouped rows cross into Splunk:
Combine multiple aggregations in one command:
Build dashboards and alerts
Use axtimechart when the next thing you want is a time series. It’s a reporting command, so the Visualization tab works directly and the search drops into dashboard panels and alerts unchanged:
In a saved search or alert, the schedule’s dispatch window becomes the Axiom query window, so an alert that runs every 5 minutes over the last 5 minutes queries exactly that window in Axiom.
Enrich Splunk events with Axiom context
Use axlookup when the base events are already in Splunk and Axiom has useful context to look up. This example adds deployment metadata from an Axiom dataset to Splunk events:
Added fields are prefixed with axiom_ and normalized to Splunk-friendly names, so service.version becomes axiom_service_version. For the conventions, see Field conventions.
Reach for full APL
Use axquery when the command-specific surface isn’t enough. Any APL query works, including operators and functions that have no SPL equivalent:
Browse the APL tutorial for query patterns you can adapt, and use the Splunk SPL to APL cheat sheet to translate familiar SPL idioms.