Send data from Loki Multiplexer to Axiom
This step-by-step guide provides a gateway for you to connect a direct link interface to Axiom via Loki endpoint.
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.
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
shell
Install using go get
shell
Install from source
shell
Run the Loki-Proxy Docker
shell
Configuration
Specify the environmental variables for your Axiom deployment:
shell
Run and test
shell
Using Docker
shell
For more information on Axiom Loki Proxy and how you can propose bug fix, report issues and submit PRs, see the GitHub repository.