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.

  • onedr0p@alien.topB
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    When it comes to observability there’s never going to be an easy solution.

  • thelastknowngod@lemm.ee
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year 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).

  • rho9cas@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Google “Application Performance Monitoring tools”. Signoz is one, for example. Combines logs, metrics, and traces. There’s also OpenObserve. I use Uptrace, but in terms of metrics visualisation it’s very barebones, just gauges basically. All of them can be setup with docker.

  • foomatic999@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    For security monitoring I’ll throw Wazuh in the room. There’s a room right recent video from John Hammond on the subject.

  • Trustworthy_Fartzzz@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year 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.

  • Spaceman_Splff@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Graylog. Super easy to set up. Getting the grok and regex patterns sorted kind of sucks for getting fields to be pulled out unless you are good with that already.