apatel762 / home-infra

A repository containing all of the setup for my home infra (e.g. my laptop & soon, my server)
GNU Affero General Public License v3.0
0 stars 0 forks source link

Log aggregation #136

Open apatel762 opened 1 year ago

apatel762 commented 1 year ago

https://old.reddit.com/r/selfhosted/comments/12mc9ux/good_selfhosted_logging_server/jgazq64/?context=2

For basic aggregation and if your host OS uses systemd, I suggest using journald via the Docker journald logging driver. On top of that, Promtail can push those same logs to a Loki instance (see this other post).

More about Grafana Loki: https://www.youtube.com/watch?v=h_GGd7HfKQ8