What is the cost difference between ingest-based and query-based log pricing, and how does it change design?
AdvancedProductionLog Pipelines
Answer
Ingest/index-priced tools (Datadog, Splunk, Elastic Cloud by size) charge for every byte stored, so you filter and sample hard before sending. Storage-cheap tools (Loki, ClickHouse-based stores, S3 + Athena) make it affordable to keep more but queries cost compute and are slower. A common hybrid: send everything to cheap object storage, send only valuable streams to the indexed tool, and rehydrate when needed. Datadog's "Logging without Limits" (ingest everything, index selectively) and Flex Logs follow the same idea.
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