Replies: 8 comments 5 replies
-
It’s something I keep meaning to do but never get round to. For 95% of the issues I have, Dozzle & Portainer help me find the problem. Interested in a more complete solution though. |
Beta Was this translation helpful? Give feedback.
-
Thanks for looping me in! I'll just put my Without further ado (mind you I am using a cleaner named
As for Prometheus - yes I have that running and use it quite heavily. I'm using Prometheus with quite a few services:
As far as "figure out where a problem comes from", logs is one thing and I usually just check those logs first. I would love to do end-to-end request tracing and thought that Jaeger for Traefik would be nice, but that was very complicated to set up and I couldn't get it working easily https://traefik.io/blog/application-request-tracing-with-traefik-and-jaeger-on-kubernetes/. |
Beta Was this translation helpful? Give feedback.
-
Label-based log indexing (InfluxDB, Loki) requires some level of analysis and config for each log input vs full text search (ElasticStack, Graylog). Plugins can help provide more consistent structure to the data in both cases, but adding a data source (and being able to find stuff in logs) has been easier for me with ElasticStack (because non-labeled data is still searchable). If all you need is alerting I'd guess Loki + Grafana would be the "easiest" next step - but may not be the most helpful if you want to troubleshoot issues through your stack (out of the box). Loki + Prometheus + Grafana also seems to be where most of the medium-sized world is headed. IMO, SIEM is important for a homelab too - ElasticStack "includes" it and Loki has no plans to support that use case: grafana/loki#2047 (comment) So, ElasticStack seems to be the only one supporting all my needs in "one" product (logs, metrics, alerts, dashboards, SIEM...etc) but it requires way more care and feeding than anything in a homelab should. My thoughts (TLDR; No clear "winner"): ElasticStack w/Beats (instead of LogStash)
InfluxDB v2
Graylog
Loki (no first-hand experience)
|
Beta Was this translation helpful? Give feedback.
-
Thanks for all the input everyone. A lot of these are way over my head. I think I will try Loki first and see how i feel about it. |
Beta Was this translation helpful? Give feedback.
-
Successfully shipped all of my logs (proxmox host logs, 2 guest machine logs, script logs) to Loki and I can now query them on Grafana. Just need to setup alerts :-) |
Beta Was this translation helpful? Give feedback.
-
Looking forward to seeing the setup! For container logs are you just aggregating the logs as seen with |
Beta Was this translation helpful? Give feedback.
-
Splunk. The driver is already in docker
…On Wed, Mar 23, 2022, 11:22 AM SmartHomeBeginner ***@***.***> wrote:
I am new to the topic of log monitoring. I would like to add something
simple to do the following:
1. Check the logs (from various sources) for specific phrases or events
2. If found, send a notification (Telegram, email, etc.)
Does anyone know of something that can do this. I have read around and
there is Graylog, Grafana/Loki, etc. Just wondering if there is simpler and
opensource/free for homelab use.
Sorry, just looping in few frequent visitors here: @robflate
<https://github.com/robflate> @DennisGaida
<https://github.com/DennisGaida> @shawnthompson
<https://github.com/shawnthompson> @uasdj25 <https://github.com/uasdj25>
@gzecchi <https://github.com/gzecchi>
—
Reply to this email directly, view it on GitHub
<#262>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJIJNRDMBBAMDBR2QQCZDXDVBMZM3ANCNFSM5ROLPVQA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
For my homelab use, I only roll with Dozzle and manually checking it and Portainer. I've used various for work purposes. Graylog is fairly easy to setup, but a bit cumbersome. I think I'd add in Loki too. Netdata is fantastic, but it will consume a lot of resources. In general, I think I'm running fewer containers than most here, so it's a bit easier for me to manage. That may change if I convert to cloud/seedbox though. |
Beta Was this translation helpful? Give feedback.
-
I am new to the topic of log monitoring. I would like to add something simple to do the following:
Does anyone know of something that can do this. I have read around and there is Graylog, Grafana/Loki, etc. Just wondering if there is simpler and opensource/free for homelab use.
EDIT1: Since i already have grafana in the stack, I am wondering if I should just build on it and add Loki and eventually Prometheus for monitoring needs.
Sorry, just looping in few frequent visitors here: @robflate @DennisGaida @shawnthompson @uasdj25 @gzecchi
Beta Was this translation helpful? Give feedback.
All reactions