Loki Server Presets
Compliance 450 GB/Day & 365-Day Retention Preset (16-Slice 16 TB)
High-capacity 32 GB RAM, 16 TB RAID archive node retaining a full year of ZSTD-compressed audit and ingress logs.
14.6 GB RSS · 14.4 TB (365d @ 9x ZSTD) · 16 GB Cache · $96/mo
Full-Year Local Storage Without S3 Egress
Storing 14.4 TB locally on an InterServer 16-Slice ($96/mo) removes cloud object storage GET/LIST fees when compliance auditors run multi-month LogQL scans.
Protecting Compactor RAM Headroom
At 32 GB system RAM, capping Memcached at 12-16 GB reserves ample Linux page cache so daily TSDB index merges do not trigger swap thrashing.
Measured Thresholds & Loki TSDB Parameters
| Parameter | Recommended Setting | Operational Impact |
|---|---|---|
| Retention / Compression | 365 days (8760h) · 9x ZSTD JSON logs | 14.4 TB total including compaction margin |
| Ingestion Rate Cap | ingestion_rate_mb: 24 / burst: 48 MB/s | Absorbs 2x deploy burst floods safely |
| Compactor Window | compaction_interval: 10m / retention: true | Reclaims expired 366d blocks continuously |