this post was submitted on 18 Nov 2023
4 points (100.0% liked)

Self-Hosted Main

511 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

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.

top 7 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 11 months ago

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

[–] [email protected] 1 points 11 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).

[–] [email protected] 1 points 11 months 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.

[–] [email protected] 1 points 11 months 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.

[–] [email protected] 1 points 11 months ago

Give OpenObserve a try, it's able to handle a lot of traffic while using low resources. https://github.com/openobserve/openobserve

[–] [email protected] 1 points 11 months ago

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

[–] [email protected] 1 points 11 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.