What are the common log routing destinations and why separate them?
IntermediateConceptLogging: ELK/EFK, Loki & Log Shippers
Answer
- Hot search (Loki, Elasticsearch, CloudWatch Logs): days to weeks, for debugging.
- Archive (S3/GCS with lifecycle to Glacier): months to years, for compliance, queried with Athena when needed.
- SIEM (Splunk, Elastic Security, Microsoft Sentinel): security and audit logs only.
Routing by type in the agent (security logs to SIEM, all logs to S3, app logs to Loki) keeps expensive tools small and cheap storage complete.
More on Logging: ELK/EFK, Loki & Log Shippers
What is the ELK stack, and what is EFK?BeginnerHow does Elasticsearch store and search logs?IntermediateWhat is ILM (Index Lifecycle Management) and why do log clusters need it?IntermediateWhat is an Elasticsearch data stream?AdvancedWhat is an index template and mapping, and what is a mapping explosion?AdvancedWhat does Logstash do compared with Beats?Intermediate