2023-07-19 22:44:20 +00:00
|
|
|
---
|
|
|
|
title: "Loki"
|
|
|
|
---
|
|
|
|
|
2023-12-30 21:36:33 +00:00
|
|
|
Homepage: [https://grafana.com/oss/loki/](https://grafana.com/oss/loki/)
|
2023-07-19 22:44:20 +00:00
|
|
|
|
|
|
|
Docker Container: [Loki](https://hub.docker.com/r/grafana/loki)
|
|
|
|
|
|
|
|
Loki is a log aggregation system designed to store and query logs from all your applications and infrastructure.
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
2023-12-30 21:36:33 +00:00
|
|
|
Set `loki_enabled: true` in your `inventories/<your_inventory>/group_vars/nas.yml` file.
|
2023-07-19 22:44:20 +00:00
|
|
|
|
|
|
|
Loki doesn't have a web interface. To see what it's doing look at the container logs from your Ansible-NAS shell:
|
|
|
|
|
2023-07-19 23:03:28 +00:00
|
|
|
```bash
|
2023-07-19 22:44:20 +00:00
|
|
|
docker logs loki -f
|
|
|
|
```
|