I’ve been looking into a centralized logging solution for my home network and such. I looked into grafana+loki, but it seems very complex, and I couldn’t seem to get it working.

I don’t need anything overly fancy, I just want centralized logging and maybe metrics that I can access from a webui, preferably on the simpler side and with a decent docker(-compose) example.

  • thelastknowngod@lemm.ee
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    Loki is pretty simple so not sure what you’re expecting.

    There’s always an ELK stack but I feel like that’s a lot more overhead than a grafana/loki combo… I personally never want to use this again but it’s up to you.

    You just need something to collect and ship the logs (promtail, fluentbit, opentelemetry), something to store them (loki, logstash), and some way to query them (grafana, kibana, logcli).

  • Trustworthy_FartzzzB
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    Did you check out the Loki Docker plugin for the daemon? That worked like a charm for me.

    Promtail will grab host level logs as well.

    DM if you’re comfortable with Ansible; I have the whole stack (host + Docker services) automated and can share.