homek8s/infrastructure/logging
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Lance Walters e307f9dfd2 docs(logging): audit source, corrected measurements, pitfalls and acceptance evidence
- audit log section: allowlist fields, the two-retention-policies note, and the
  05:52-05:58 UTC incident (stage.pack leaked _entry; fixed, purged by wiping
  the PVC and resetting positions).
- measurements: 7.0x compression on the fresh store; two regimes (quiet 360
  MB/day, osint crawl 3.2 GB/day raw) -> <=3.7 GiB over 192h against an 8Gi PVC.
- pitfalls that cost real time: alloy validate does not catch component build
  errors, stage.json is JMESPath, stage.pack keeps _entry, file source needs an
  explicit timestamp stage, alloy positions path permissions.
- acceptance evidence: the real 7-day lines, per-source retained depth (incl.
  the honest 5d9h pod-log ceiling) and the restart test.
- alert threshold: 200 kB/s (was 12 MiB/s, which was ~50x too lax to mean
  anything against an 8Gi PVC).
2026-11-27 01:06:11 -05:00
..
alloy fix(logging): build the audit line from a JMESPath allowlist, never pack the raw record 2026-11-27 00:56:07 -05:00
loki infra(logging): Loki single-binary + Alloy DaemonSet, 192h bounded retention (F4) 2026-11-27 00:36:56 -05:00
alloy.yaml infra(logging): ship kube-apiserver audit log with secret bodies stripped 2026-11-27 00:49:07 -05:00
datasource.yaml infra(logging): Loki single-binary + Alloy DaemonSet, 192h bounded retention (F4) 2026-11-27 00:36:56 -05:00
kustomization.yaml infra(logging): Loki single-binary + Alloy DaemonSet, 192h bounded retention (F4) 2026-11-27 00:36:56 -05:00
loki.yaml infra(logging): Loki single-binary + Alloy DaemonSet, 192h bounded retention (F4) 2026-11-27 00:36:56 -05:00
monitoring.yaml docs(logging): audit source, corrected measurements, pitfalls and acceptance evidence 2026-11-27 01:06:11 -05:00
namespace.yaml infra(logging): Loki single-binary + Alloy DaemonSet, 192h bounded retention (F4) 2026-11-27 00:36:56 -05:00