Build from source
Clone the Grafana Loki repository and use the provided
to build Loki from source.
- Go, version 1.14 or later;
- Docker (for updating protobuf and yacc files)
Clone Loki to
git clone https://github.com/grafana/loki $GOPATH/src/github.com/grafana/loki
With a current working directory of
The built executable will be in
Related Loki resources
Getting started with logging and Grafana Loki (APAC timezone)
Join this webinar to learn why correlating metrics and logs is critical across the development lifecycle, and how Loki helps reduce logging costs and operations overhead.
Logging with Loki: Essential configuration settings
This webinar focuses on Grafana Loki configuration including agents Promtail and Docker; the Loki server; and Loki storage for popular backends.