BLUF: Is there a “datadog-for-home”?

I’ve a ton of stuff running at home ranging from a 5-node PI cluster with various containers running on them including things like self-written python scripts doing “super important” stuff, node-red running everything about my energy setup, pfsense, TrueNAS etc.

Logging is painful and I’ve just lost about 4 hours trying to find a fault which stopped car charging. Lots of rabbit holes were entered as I currently don’t have an end-to-end logging solution.

What does everyone else use?

  • NikStalwart@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    9 months ago

    Depending on your existing monitoring stack, some options might be:

    • Grafana Loki
    • Sentry can be self-hosted for application logging
    • Logstash is self-explanatory, use with other parts of Elastic’s software like Kibana for visualization.
  • dlm2137@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    9 months ago

    Anyone here got a solution working in Unraid? I looked into this recently but got a bit stuck.

  • lvlint67@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    9 months ago

    A simple syslog server is ready.

    Look into ELK stack. I personally hate it but if you can learn it there’s a chance you can build a career on it.

  • thekrautboy@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    9 months ago

    I like Grafana/Loki/promtail etc.

    But Datalust Seq is also nice.

    Graylog can do a lot but its too bloated and too hungry for my taste (damn elasticsearch).

  • YYCwhatyoudidthere@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    9 months ago

    I come from a Cybersecurity background which might explain my answer: Security Onion had proven adept at cross referencing logs and pcaps which is pretty awesome for troubleshooting

    And +1 for Dozzle to see real-time Docker logs.

  • TheSeloX@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    9 months ago

    For most self hosted use cases Splunk’s free 500MB (per day) license should be enough. It’s way easier to set up and maintain than ELK and has tons of free extensions for parsing log formats and dashboards.

  • dhuscha@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    9 months ago

    Also using Graylog, dead simple to set up with rsyslog and at work we even use the sidecar for window logs.

  • iavael@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    9 months ago

    Just write your logs as files on a centralized syslog server with good file structure and you’ll be good.

    You may really underestimate how fast and convenient grep+less combo is in comparison to webui-based solutions.

  • N4v41@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    9 months ago

    I tried some tools and the one that I am currently using is OpenObserve, it’s light has a very good compression and is simple to manage, as an observability platform I think that open observe has some features that can be used instead of datadog like log injestion and open telemetry traces