Re:Show HN: Homelab Monitoring Setup with Grafana
by majkinetor on Wednesday June 07, 2023 @04:05PM
(#36232755)
Is there anything easier for logs? Basically glorified ripgrep?
[ Parent
| on HN ]
Re:Show HN: Homelab Monitoring Setup with Grafana
by jacksgt on Thursday June 08, 2023 @12:40AM
(#36237300)
I think Loki is pretty much the easiest thing you can find (if you want it to be multi server, at least).
Loki whole approach comes down to avoiding expensive indexing (compared to Elastic search et all.), and really on "grep" for searching instead.
Re:Show HN: Homelab Monitoring Setup with Grafana
by majkinetor on Thursday June 08, 2023 @12:44PM
(#36244821)
What I hate about Elastic is it special grep syntax I can never get right...
I tried loki around v1.0 and it didn't seem to offer much back then...
Re:Show HN: Homelab Monitoring Setup with Grafana
by mekster on Thursday June 08, 2023 @08:47AM
(#36240989)
Don't use Grafana for logs. Its (or any other basically, including Kibana or Graylog) interface sucks and I used Metabase which has much more friendly interface to show logs in tabular format instead of throwing raw logs like the others.
I collect logs with Vector on each instances and sent to central ClickHouse which Metabase reads from.
Re:Show HN: Homelab Monitoring Setup with Grafana
by majkinetor on Thursday June 08, 2023 @12:43PM
(#36244791)
Interesting. I am already trying that with dBeaver and ClickHouse with docker.
Used this tutorial:
https://clickhouse.com/docs/en/integrations/vector
My services usually produce around 2GB of log data per day. From quick read on the CH I beleive it should not be a problem. Not sure how big the database it is but zip compressed log data is around that size for entire month.