What does a production log pipeline look like end to end?
BeginnerProductionLog Pipelines
Answer
flowchart LR
A["App stdout (JSON)"] --> B["Node agent: Alloy / Fluent Bit / Vector"]
B --> C["Aggregator: parse, scrub PII, sample, route"]
C --> D["Hot store: Loki / Elasticsearch / vendor"]
C --> E["Archive: S3 / GCS"]
D --> F["Grafana / Kibana"]
Apps write structured logs to stdout, a node agent tails and enriches them with Kubernetes metadata, an aggregation tier buffers and processes, then data goes to a searchable hot store and a cheap archive.
More on Log Pipelines
Why structured (JSON) logging, and what fields should every log line have?BeginnerFluent Bit, Vector, Grafana Alloy or the OpenTelemetry Collector: how do you choose a log agent?IntermediateWhy add an aggregation tier instead of sending directly from agents to the backend?IntermediateHow do you design log retention tiers?IntermediateHow do you scrub PII from logs in the pipeline?IntermediateHow and when do you sample logs?Intermediate