Prerequisites
- Create an Axiom account.
 - Create a dataset in Axiom where you send your data.
 - Create an API token in Axiom with permissions to update the dataset you have created.
 
Configure endpoint in Axiom
- Click 
Settings > Endpoints.
 - Click New endpoint.
 - Click .
 - Name the endpoint.
 - Select the dataset where you want to send data.
 - 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:tokenis your Splunk API token. For information, see the Splunk documentation.urlorhostis 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 
portandindexvalues are required in your Python code.