How do you treat security and audit logs differently from application logs?
IntermediateProductionLog Pipelines
Answer
- Never sampled or dropped.
- Immutable storage (S3 Object Lock in compliance mode, WORM).
- Separate access controls; application engineers cannot delete them.
- Longer retention set by compliance (PCI DSS requires 1 year with 3 months immediately available).
- Sent to the SIEM for detection rules.
Pipeline health for these streams gets its own alerts.
More on Log Pipelines
What does a production log pipeline look like end to end?BeginnerWhy 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?Intermediate