docker-logs-grafana-clickhouse/README.md

16 lines
706 B
Markdown
Raw Normal View History

2023-10-24 15:57:48 +03:00
# Grafana Clickhouse Docker Log Aggregation
This demo project can aggregate logs from Docker containers and store them in Clickhouse. In the `dashboards` directory you can find dashboard examples for specific log format. `Logs + Structured via Query` is recommended.
**Note**: dashboards are tuned for structured logging (JSON log records).
## How to start
Obviously, you'll need Docker:
2023-11-15 12:53:24 +03:00
1. `make all`
2. Navigate to `http://grafana.test` or `http://localhost:3000`, use `admin:admin` as credentials.
3. Create your own dashboard or import those I provided (`dashboards/` directory). Replace data source UUID with correct one if needed.
2023-10-24 15:57:48 +03:00
4. Run any Docker project with structured JSON logs.
2023-11-15 12:53:24 +03:00
5. Done.