Technologies
Send data from Loki to Axiom
Integrate Axiom in your existing Loki stack with minimal effort and without breaking any of your existing Loki workflows.
This page explains how to send data from Honeycomb to Loki.
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 sends data.
Configure Loki
In Loki, specify the following environment variables:
host
orurl
is the target URL for the endpoint you have generated in Axiom by following the procedure above. For example,https://opbizplsf8klnw.ingress.axiom.co
.- Optional: Use
labels
ortags
to specify labels or tags for your app.
Examples
Send logs from Loki using JavaScript
Send logs from Loki using Python
Was this page helpful?