Overview

Install and configure the Axiom for Splunk app

The app is a query bridge, not an index replication tool. Axiom remains the system that stores and queries Axiom datasets. Splunk remains the system where your team composes investigations, shapes results, and connects output to existing operational workflows.

Prerequisites#

Dataset visibility in Splunk comes from the token. Users of the app see and query exactly the datasets the configured token can read, so scope the token to the datasets you intend to share.

Install the app#

  1. Install the Axiom app from Splunkbase using Splunk Web, or download the package and install it from file.
  2. In Splunk Web, open the Axiom app. On first use, Splunk redirects you to the app’s setup page.
  3. Enter your Axiom API token. The app stores it securely in Splunk’s credential store, marks the app configured, and reloads.

The token is shared by users of the app on that Splunk instance. Use a token scoped to the datasets the whole team should see. To store additional credentials for specific use cases, save them under a different name and select them per search with the tokenName option.

Verify the connection#

List the datasets the token can access:

| axdatasets
| table name, kind, retentionDays
| sort name

If the table shows your datasets, the app is ready. Next, inspect the fields in a dataset and sample some events:

| axfields dataset="http-logs"
| table name, type, unit
| sort name
| axsample dataset="http-logs" fields="service,status,message" limit=20

Search an Axiom dataset with Splunk-like syntax, then shape the results with normal SPL:

| axsearch dataset="http-logs" q="status>=500 service=checkout" fields="service,status,message" limit=100
| table _time, service, status, message

Aggregate inside Axiom and present in Splunk:

| axstats dataset="http-logs" q="status>=500" stats="count as errors" by="service" limit=100
| sort -errors

A good search pushes the expensive part into Axiom, returns a focused result set, and then uses SPL for presentation. For the full command surface, see Commands. For worked examples, see Examples.

Troubleshoot setup#

No datasets appear. Confirm setup saved the token, then verify the token can query at least one dataset. For more information, see Tokens and Datasets.

You need to replace the token. Open the app’s setup page again and enter the new token. The old token stops being used immediately.

For help, visit axiom.co/support or email support@axiom.co. Include the app version, the Splunk version, and the command you ran.

Updated

Was this page helpful?