-
Run
make up
to start docker environment. -
Add Loki data source at http://127.0.0.1:3000/datasources/new. Set url to
http://loki:3100
, other parameters left as default. -
Open Explorer and select Loki Data Source.
-
Run example query:
{event="log"} | json | json_log_level=~"DEBUG|INFO|WARNING|ERROR|CRITICAL" | line_format "{{.json_log_level}} \t {{.json_request_id}} \t {{.json_message}}"
-
make clean
removes all containers of the project.