maxdraco

Logging and monitoring

Recording what systems do and watching it: log formats, the programs that collect and ship logs, and the stores that keep them searchable.

Concepts

  • Data retention How long stored data, such as logs, is kept before it is deleted.
  • Exporter (metrics exporter) A small program that gathers numbers from a system and publishes them for monitoring to collect.
  • False positive An alarm or match that fires when nothing is actually wrong.
  • Health check (readiness check) An automatic test that asks a running service whether it is working, so a broken one can be restarted or taken out of use.
  • Metrics Numbers a system records over time, such as request counts or temperature, used to watch its health.
  • Paging (on-call alert) An urgent alert that interrupts an on-call person, by phone, text or app, so they act right away.
  • Redaction Removing or masking secrets and personal details before text is stored or shared.
  • SIEM Security information and event management: a system that collects logs from many sources so security events can be searched and alerted on.

Protocols

  • NetFlow (network flow records) A way for routers to record a summary of every network conversation: who talked to whom, when, and how much.
  • syslog The standard way computers and network devices send log messages to a log server.

Standards

  • UTC Coordinated Universal Time, the world's reference clock, used for timestamps that mean the same thing everywhere.

Tools

  • Grafana Open-source dashboard tool for graphing, exploring and alerting on metrics and logs.
  • Grafana Alloy Grafana Labs' collector that gathers logs, metrics and traces and sends them to storage like Loki.
  • Grafana Loki A log storage and search system from Grafana Labs that indexes labels, not the full text.
  • Prometheus Open-source monitoring system that collects numbers over time and raises alerts.
  • Promtail Grafana Labs' older log shipper for Loki, now replaced by Grafana Alloy.

Related topics