Splunk Dashboard Migration
Guide for converting Splunk dashboards to Axiom dashboards.
Migration Workflow
- Export Splunk dashboard (XML or JSON)
- Inventory panels — list each panel with its SPL query and visualization type
- Translate SPL → APL using the
axiom-spl-to-aplskill - Map visualization types (see table below)
- Test queries with explicit time filters in Query tab (dashboards inherit time from UI picker)
- Adjust binning for Axiom visualization
- Build Axiom dashboard using templates (remove time filters from panel queries)
- Validate and deploy with
dashboard-validateanddashboard-create
Visualization Type Mapping
| Splunk Visualization | Axiom Chart Type | Notes |
|---|---|---|
| Single Value | Statistic | Direct mapping |
| Line Chart | TimeSeries | Ensure bin(_time, ...) |
| Area Chart | TimeSeries | Same as line |
| Column Chart | TimeSeries | Axiom renders as bars |
| Bar Chart (horizontal) | Table | No horizontal bar; use table |
| Pie Chart | Pie | Limit to ≤6 categories |
| Table | Table | Direct mapping |
| Events List | LogStream | Add project-keep. No take N: the Console limits LogStream rows |
| Choropleth Map | Table | No map support; use table |
| Scatter Plot | Table | No scatter; use table with dimensions |
Panel Translation Examples
Note: Dashboard panel queries do NOT need time filters—the dashboard UI time picker applies to all panels automatically. The examples below show the final dashboard query format.
Single Value → Statistic
Splunk:
index=web status>=500
| stats count as errorsAxiom (dashboard panel):
['web-logs']
| where status >= 500
| summarize errors = count()Timechart → TimeSeries
Splunk:
index=web
| timechart span=5m count by statusAxiom (dashboard panel):
['web-logs']
| summarize count() by bin_auto(_time), statusStats Table → Table
Splunk:
index=web status>=500
| stats count by uri
| sort - count
| head 10Axiom (dashboard panel):
['web-logs']
| where status >= 500
| summarize count = count() by uri
| top 10 by count
| project URI = uri, Errors = countTop Command → Table
Splunk:
index=web
| top limit=10 user_agentAxiom (dashboard panel):
['web-logs']
| summarize count() by user_agent
| top 10 by count_
| project "User Agent" = user_agent, Count = count_Events Search → LogStream
Splunk:
index=web status>=500
| table _time, uri, status, error_messageAxiom (dashboard panel):
['web-logs']
| where status >= 500
| project-keep _time, uri, status, error_messageChart with Eval → TimeSeries
Splunk:
index=web
| timechart span=5m count as total, count(eval(status>=500)) as errors
| eval error_rate = round(errors/total*100, 2)Axiom (dashboard panel):
['web-logs']
| summarize
total = count(),
errors = countif(status >= 500)
by bin_auto(_time)
| extend error_rate = round(100.0 * errors / total, 2)
| project _time, error_rateTime Range Translation
Splunk dashboards use time pickers. Axiom dashboards also have a time picker that automatically scopes all queries—panel queries don't need explicit time filters.
For ad-hoc testing in the Query tab, use these time filters:
| Splunk Time Picker | Axiom APL (for Query tab testing) |
|---|---|
| Last 15 minutes | where _time between (ago(15m) .. now()) |
| Last 60 minutes | where _time between (ago(1h) .. now()) |
| Last 4 hours | where _time between (ago(4h) .. now()) |
| Last 24 hours | where _time between (ago(24h) .. now()) |
| Last 7 days | where _time between (ago(7d) .. now()) |
| Today | where _time between (startofday(now()) .. now()) |
| Yesterday | where _time between (startofday(ago(1d)) .. startofday(now())) |
Remember: Remove time filters when placing queries in dashboard panels.
Binning Adjustment
Splunk timechart span= maps to Axiom bin(_time, ...).
| Splunk | Axiom |
|---|---|
span=1m |
bin(_time, 1m) |
span=5m |
bin(_time, 5m) |
span=1h |
bin(_time, 1h) |
span=1d |
bin(_time, 1d) |
Or use bin_auto(_time) for automatic sizing based on time range.
Field Name Mapping
Splunk and Axiom may have different field names for the same data.
| Concept | Splunk (common) | Axiom (common) |
|---|---|---|
| Timestamp | _time |
_time |
| Raw event | _raw |
_raw or structured fields |
| Source | source |
_source or custom |
| Host | host |
host or ['kubernetes.node.name'] |
| Index | index |
N/A (use dataset) |
Tip: Run getschema on your Axiom dataset to discover actual field names:
['your-dataset'] | where _time between (ago(1h) .. now()) | getschemaFeatures Without Direct Equivalents
| Splunk Feature | Axiom Approach |
|---|---|
transaction |
Use summarize with make_list() grouped by session/trace |
streamstats |
No direct equivalent; approximate with window functions |
eventstats |
Use subquery + join |
| Drilldown actions | Use SmartFilter for interactive filtering |
| Trellis layout | Create separate panels per dimension |
| Real-time search | Use short time window + fast refresh |
Common Migration Pitfalls
Unbounded Results
Problem: Splunk implicitly limits; Axiom may return all rows.
Fix: Add | top N by ... or | take N for tables. LogStream needs neither: the Console limits it.
Case Sensitivity
Problem: Splunk search is case-insensitive by default.
Fix: Use has (case-insensitive) or tolower() for matching.
Field Escaping
Problem: Splunk uses bare field names; Axiom needs brackets for dots.
Fix: field.name → ['field.name']
Different Aggregation Names
Problem: Function names differ between SPL and APL.
Fix: Consult axiom-spl-to-apl skill for complete mapping.
Migration Checklist
- Inventory all panels from Splunk dashboard
- Map each panel's visualization type
- Translate SPL queries using axiom-spl-to-apl
- Verify field names with getschema
- Test queries in Query tab (with time filters for testing)
- Add
top Nortake Nwhere needed - Test each query individually in Axiom
- Build dashboard JSON (remove time filters from panel queries)
- Validate with
dashboard-validate - Deploy with
dashboard-create - Compare visually to original Splunk dashboard