# Send data from Loki Multiplexer to Axiom





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](https://grafana.com/docs/loki/latest/reference/loki-http-api/#ingest-logs).

<Prerequisites />

## Installation [#installation]

### Install and update using Homebrew [#install-and-update-using-homebrew]

```bash
brew tap axiomhq/tap
brew install axiom-loki-proxy
brew update
brew upgrade axiom-loki-proxy
```

### Install using `go get` [#install-using-go-get]

```bash
go get -u github.com/axiomhq/axiom-loki-proxy/cmd/axiom-loki-proxy
```

### Install from source [#install-from-source]

```bash
git clone https://github.com/axiomhq/axiom-loki-proxy.git
cd axiom-loki-proxy
make build
```

### Run the Loki-Proxy Docker [#run-the-loki-proxy-docker]

```bash
docker pull axiomhq/axiom-loki-proxy:latest
```

## Configuration [#configuration]

Specify the environmental variables for your Axiom deployment:

```bash
AXIOM_URL = AXIOM_DOMAIN
AXIOM_TOKEN = API_TOKEN
```

<Info>
  <ReplaceDomain />

  <ReplaceToken />
</Info>

## Run and test [#run-and-test]

```bash
./axiom-loki-proxy
```

### Using Docker [#using-docker]

```bash
docker run -p8080:8080/tcp \
  -e=AXIOM_TOKEN=<API_TOKEN> \
  axiomhq/axiom-loki-proxy

```

<Info>
  <ReplaceToken />
</Info>

For more information on Axiom Loki Proxy and how you can propose bug fix, report issues and submit PRs, see the [GitHub repository](https://github.com/axiomhq/axiom-loki-proxy).
