tallinnying
Member
OP
Night Shift
- Joined:
- Aug 2024
- Posts:
- 268
- From:
- Tallinn, EE
Tried elk on my 2GB CloudCone box | anyway | jvm ate itself in 4 hours | idk why I do this | here's my 3am experiment:
$ free -h
total used free
Mem: 1.9Gi 1.8Gi 0.1Gi
Swap: 0.5Gi 0.5Gi 0.0Gi # oom soon
Elasticsearch alone wants 1g heap | logstash wants more | kibana wants your soul | | what do people actually run on tiny vps | not theory | actual
builds at 3AM, sleeps at noon
YuriDavid
Member
- Joined:
- May 2024
- Posts:
- 174
- From:
- Kyiv, Ukraine
---
- log aggregation:
- ELK: impossible
- NOTE: 2GB RAM insufficient
- alternatives:
- Loki:
- promtail ships logs
- Loki indexes labels only
- WARNING: still needs ~512MB for small loads
- Grafana Cloud:
- free tier: 50GB logs, 14 days
- no local resources
- NOTE: requires outbound bandwidth only
- "just grep":
- zstd compress old logs
- fd + ripgrep for speed
- no indexing, no overhead
---
- my setup:
- 1GB host
- Grafana Cloud free
- 3GB/month shipped
- cost: $0
indentation is not optional
olespete
Member
Trust No One
- Joined:
- Jun 2024
- Posts:
- 270
- From:
- Unknown
WARNINGS! | shipping logs to cloud = third party has your logs | GDPR nightmare | what could go wrong: | Grafana Cloud gets subpoenaed | your ssh failure logs expose key patterns | your cron timings reveal maintenance windows | local Loki behind firewall + fail2ban + wireguard tunnel for remote read | this is the way | | paranoid and alive beats convenient and pwned
airgapped, encrypted, faraday'd, still worried