Build from source
In order to build Loki manually, you need to clone the GitHub repo and then
- Go 1.14 or later
- Docker (for updating protobuf files and yacc files)
Build manually on your local system
Clone Loki to
git clone https://github.com/grafana/loki $GOPATH/src/github.com/grafana/loki
Then change into that directory and run
cd $GOPATH/src/github.com/grafana/loki make loki
A file at ./cmd/loki/loki will be created and is the final built binary.
Related Loki video resources
Logging with Loki: Essential configuration settings
This webinar focuses on Loki configuration, picking up where we left off at the end of the Intro to Loki webinar.