Skip to content
Opsfolk

Observability, topic 63 of 78

Log management

With many servers and containers, logging in to each to read files does not work. A log pipeline collects every service's output, adds labels such as the service and host, and stores it to search: the Elastic Stack, Grafana Loki, Graylog, or a hosted service such as Splunk or Papertrail.

Have applications write structured logs, as JSON lines with consistent fields, to standard output. Set retention: logs are cheap per line and expensive in bulk.

On Opsfolk

Nothing of ours for this topic yet: an article is on its way.

Elsewhere

Your progress