Loki by Prometheus is a multi-tenant log aggregation system that’s highly scalable and capable of indexing metadata about your logs. Loki exposes an HTTP API for pushing, querying, and tailing Axiom log data. Axiom Loki Proxy provides a gateway for you to connect a direct link interface to Axiom via Loki endpoint. Using the Axiom Loki Proxy, you can ship logs to Axiom via the Loki HTTP API.Documentation Index
Fetch the complete documentation index at: https://axiom.co/docs/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- Create an Axiom account.
- Create a dataset in Axiom where you send your data.
- Create an API token in Axiom with permissions to ingest data to the dataset you have created.
Installation
Install and update using Homebrew
Install using go get
Install from source
Run the Loki-Proxy Docker
Configuration
Specify the environmental variables for your Axiom deployment:Replace
AXIOM_DOMAIN with the base domain of your edge deployment. For more information, see Edge deployments.Replace API_TOKEN with the Axiom API token you have generated. For added security, store the API token in an environment variable.Run and test
Using Docker
Replace
API_TOKEN with the Axiom API token you have generated. For added security, store the API token in an environment variable.