Menu

This is documentation for the next version of Grafana Loki documentation. For the latest stable release, go to the latest version.

Open source

Install Loki

There are several methods of installing Loki:

Alloy:

General process

In order to run Loki, you must:

  1. Download and install both Loki and Alloy.
  2. 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.

  3. Start Loki.
  4. Update the Alloy config file to get your logs into Loki.
  5. Start Alloy.