this post was submitted on 27 Feb 2024
51 points (100.0% liked)

Selfhosted

40347 readers
277 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.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

Hiya, I'm looking to keep track of my different services in hosting via Unraid. Right now I'm hosting roughly 12 different services, but would be nice to have the logs of all my services in one place, preferably with a nice GUI. Are there any such services that could easily connect to the different docker containers I have running?

Appreciate any suggestions πŸ™Œ

all 17 comments
sorted by: hot top controversial new old
[–] peter 14 points 9 months ago (1 children)
[–] krash@lemmy.ml 1 points 9 months ago (1 children)

Is there a decent tutorial on how to get it up and running on standard services such as systemd events, fail2ban etc? There is no quick start guide on their site.

[–] peter 3 points 9 months ago

Install promtail on the system where you want to get the logs from, then configure it with the paths to the log files and the address of the loki server

https://grafana.com/docs/loki/latest/send-data/promtail/?pg=oss-loki&plcmt=quick-links

[–] nixx@lemmy.ca 6 points 9 months ago

Take a look at openonserve

https://openobserve.ai/

[–] CyberTailor@lemmy.world 6 points 9 months ago (2 children)
[–] ogarcia@lemmy.world 2 points 9 months ago

About that I have made the simplest possible implementation of a syslog server in Rust. I use it to collect OpenWrt logs and store them on my server. ;-)

[–] vegetaaaaaaa@lemmy.world 2 points 8 months ago* (last edited 8 months ago)

Syslog over TCP with TLS (don't want those sweet packets containing sensitive data leaving your box unencrypted). Bonus points for mutual authentication between the server/clients (just got it working and it's πŸ‘Œ - my implementation here

It solves the aggregation part but doesn't solve the viewing/analysis part. I usually use lnav on simple setups (gotty as a poor man's web interface for lnav when needed), and graylog on larger ones (definitely costly in terms of RAM and storage though)

[–] ImInPhx@lemmy.sdf.org 5 points 9 months ago (2 children)

I’m currently using Dozzle. It’s a simple way to view your container logs in real-time, in the same place. It might be too basic but it’s incredibly easy to get it up and running.

[–] Dianoga@lemm.ee 3 points 9 months ago (1 children)

I'm also using Dozzle and it's been great for semi realtime use. I occasionally think about something for longer term logs but haven't yet had the motivation.

[–] ImInPhx@lemmy.sdf.org 1 points 9 months ago

Haha yeah, I’m right there with ya

[–] LunchEnjoyer@lemmy.world 2 points 9 months ago

This looks exactly like what I was looking for thanks babes

[–] VelociCatTurd@lemmy.world 3 points 9 months ago (1 children)

I use Portainer for this, though it doesn’t aggregate logs or anything. It just makes them easy to get to and read.

[–] LunchEnjoyer@lemmy.world 1 points 9 months ago

I used to use Portainer quite a bit, but after migrating to Unraid i feel like their UI was a bit superior in most ways (for my use), but thanks:)

[–] lckdscl@whiskers.bim.boats 3 points 9 months ago (1 children)

If you just want to view logs, then a lightweight viewer I really recommend is Dozzle.

[–] LunchEnjoyer@lemmy.world 1 points 9 months ago

Dozzle looks really great, imma check this out 🌻

[–] Decronym@lemmy.decronym.xyz 1 points 8 months ago* (last edited 8 months ago)

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

Fewer Letters More Letters
IP Internet Protocol
SSL Secure Sockets Layer, for transparent encryption
TCP Transmission Control Protocol, most often over IP
TLS Transport Layer Security, supersedes SSL

2 acronyms in this thread; the most compressed thread commented on today has 6 acronyms.

[Thread #563 for this sub, first seen 2nd Mar 2024, 09:35] [FAQ] [Full list] [Contact] [Source code]