Skip to main content
This page explains how to send data from Splunk to Axiom.

Prerequisites

Configure endpoint in Axiom

  1. Click Settings icon Settings > Endpoints.
  2. Click New endpoint.
  3. Click .
  4. Name the endpoint.
  5. Select the dataset where you want to send data.
  6. Copy the URL displayed for the newly created endpoint. This is the target URL where you send the data.

Configure Splunk

In Splunk, specify the following environment variables:
  • token is your Splunk API token. For information, see the Splunk documentation.
  • url or host is the target URL for the endpoint you have generated in Axiom by following the procedure above. For example, https://opbizplsf8klnw.ingress.axiom.co.

Examples

Send logs from Splunk using JavaScript

Send logs from Splunk using Python

  • Your Splunk deployment port and index values are required in your Python code.

Send logs from Splunk using Golang