This is documentation for the next version of Grafana Loki documentation. For the latest stable release, go to the latest version.
Install Loki
There are several methods of installing Loki:
- Install using Helm (recommended)
- Install using Tanka
- Install using Docker or Docker Compose
- Install and run locally
- Install from source
Alloy:
General process
In order to run Loki, you must:
- Download and install both Loki and Alloy.
- Download config files for both programs.
Note
Grafana Loki does not come with any included authentication layer. You must run an authenticating reverse proxy in front of your services to prevent unauthorized access to Loki (for example, nginx). Refer to Manage authentication for a list of open-source reverse proxies you can use.
- Start Loki.
- Update the Alloy config file to get your logs into Loki.
- Start Alloy.