Skip to content

armgit / xerj

Public Imported from GitHub
0

AI search engine and MCP server for bots and agents. One Rust binary indexes code, docs, logs, JSONL/CSV and PDFs for BM25 full-text, vector and hybrid search, code search without grep, agent memory and RAG. Elasticsearch-compatible API; Corpus Hub serves hundreds of reference memory corpora.

16.8 KB
Raw Blame

Log Analytics Clustering & Durability: User Expectations 2025-2026

Research compiled: April 2026
Sources: 8 targeted web searches across production observability, compliance, cost, and protocol topics
Data points: 65+


1. Clustering Requirements for Production Log Analytics

1.1 Ingestion Thresholds That Trigger Clustering Decisions

  • DP-01: Dedicated clusters are recommended when ingesting at least 100 GB/day across all resources (Azure Monitor guidance)
  • DP-02: Azure Log Analytics commitment tiers range from 100 GB/day to 50,000 GB/day, with CLI minimum of 500 GB/day
  • DP-03: Elasticsearch can scale to handle very large data volumes by adding nodes to the cluster and is battle-tested in deployments indexing terabytes of data per day
  • DP-04: Prometheus single-node is insufficient for production clustering — it requires additional components for horizontal scaling
  • DP-05: ClickHouse ingested over one quadrillion rows (Tesla's platform) with flat CPU consumption, demonstrating linear scalability
  • DP-06: Loki is preferred for extremely high log volumes (hundreds of GBs to TBs/day) where Elastic's indexing cost would be prohibitive

1.2 Cluster Architecture Expectations

  • DP-07: Azure Monitor creates dedicated clusters as availability-zone-enabled by default in supported regions (2025 default)
  • DP-08: Log Analytics workspace replication became Generally Available in May 2025 — cross-regional replication is now table-stakes
  • DP-09: Both primary and secondary replication locations must be within the same region group (US-to-US, EU-to-EU)
  • DP-10: Enabling replication with Sentinel can take up to 12 days to fully sync Watchlist and Threat Intelligence data
  • DP-11: Required API version for workspace replication in Azure is 2025-02-01 or later
  • DP-12: For Kubernetes environments, users expect platforms to scale "virtually linearly" as microservices and cluster count grows
  • DP-13: For metrics-only monitoring, Prometheus + Grafana remains the industry standard; all-in-one platforms (Datadog, Dynatrace) serve enterprise teams expecting managed clustering

1.3 Commitment Tier Expectations

  • DP-14: Commitment tier pricing is now the standard model for high-volume log analytics — users expect predictable per-GB-day pricing
  • DP-15: Ingestion exceeding commitment tier is charged at per-GB overage rates — users expect burst-tolerance without penalty spikes
  • DP-16: Commitment tier increases are instant; reductions have a 31-day lock-in period — users expect asymmetric flexibility

2. Elasticsearch Cost Concerns and Alternatives

2.1 Why Users Are Leaving Elasticsearch

  • DP-17: Elasticsearch switched from Apache 2.0 to a dual-license model — self-hosted ELK is no longer fully open source, driving migration
  • DP-18: ELK's increasing operational complexity at scale is a primary push factor for smaller and mid-sized teams
  • DP-19: Migrations away from Elasticsearch consistently show 60-90% infrastructure cost reductions across reported case studies
  • DP-20: Cloudflare migrated from Elasticsearch to ClickHouse for log analytics due to cost and performance at scale
  • DP-21: Uber shifted from the Elastic stack to ClickHouse for their log analytics platform

2.2 Top Alternatives and Their Positioning

  • DP-22: OpenSearch — Apache 2.0 fork from Elasticsearch (2021, AWS-led); users expect full Elasticsearch API compatibility
  • DP-23: ClickHouse — columnar OLAP; 10x less storage than Elasticsearch, sub-second queries, ~4x lower TCO vs Splunk
  • DP-24: Grafana Loki — label-based indexing only; most cost-effective for high-volume, label-oriented log workloads
  • DP-25: SigNoz — ClickHouse-backed; simple usage-based pricing with no per-user or per-host fees
  • DP-26: AWS Athena + S3 — serverless SQL on structured logs; pay-per-query model for long-term retention and ad hoc search
  • DP-27: ClickHouse reduced log storage by 6x and delivered 6x faster query performance in documented migrations (Comviva case study)
  • DP-28: ClickHouse columnar storage achieves approximately 10x less storage than Elasticsearch for comparable log datasets

3. Log Storage Compression Requirements

3.1 Expected Compression Ratios

  • DP-29: 10:1 compression or better is common and expected for log data due to highly repetitive patterns (timestamps, log levels, service names)
  • DP-30: ClickHouse achieved 170x compression on nginx access logs using columnar storage — users cite this as a benchmark target
  • DP-31: Parquet achieves 5-10x compression on security logs with Snappy, GZIP, or LZ4 algorithms — widely used in cold-path analytics
  • DP-32: LZ4 is the standard for warm storage — fast decompression, ~70% compression ratio
  • DP-33: GZIP is the standard for cold storage — slower decompression, ~85% compression ratio
  • DP-34: Tiered storage cuts costs by 60-75%; cold storage costs ~90% less than hot storage

3.2 Performance Requirements Under Compression

  • DP-35: Compression latency must remain under 10ms per batch for real-time log ingestion systems
  • DP-36: Mid-sized organizations generate ~50 GB of raw log data daily, scaling to over 18 TB annually — compression is not optional at this scale
  • DP-37: Enterprise organizations commonly generate terabytes of security logs monthly — compression, deduplication, and lifecycle automation are required
  • DP-38: Compression and deduplication together deliver 70-90% space savings for log data in production

3.3 Storage Architecture Expectations

  • DP-39: Three-tier storage architecture (hot / warm / cold) is the expected default for production systems:
    • Hot (0-30 days): Fast SSDs, full indexing, instant query
    • Warm (30-90 days): Compressed, slower access, reduced indexing
    • Cold/Archive (90+ days): Object storage (S3/Blob), minimal index, query-on-demand
  • DP-40: Automated lifecycle policies moving data between tiers are expected as a built-in feature, not manual configuration

4. Log Retention: 90-Day Baseline and Cost Expectations

4.1 Regulatory Minimums Driving 90-Day Default

  • DP-41: NIST 800-171 (DoD contractors) mandates a minimum of 90 days log retention — this has become the de facto baseline
  • DP-42: Most general-purpose production workloads find 30-90 days sufficient; 90 days is the market consensus default
  • DP-43: Diagnostic logs typically have 30-90 day retention requirements across major compliance frameworks
  • DP-44: Azure Log Analytics retains Usage and AzureActivity tables for at least 90 days at no charge — users expect zero-cost 90-day tiers
  • DP-45: Microsoft Sentinel default retention is 90 days at no extra cost — extended retention costs ~$0.10/GB/month

4.2 Extended Retention Requirements by Compliance Framework

  • DP-46: PCI DSS — audit trail logs must be retained for at least 1 year
  • DP-47: HIPAA — healthcare audit logs must be kept for 6 years
  • DP-48: CCPA — logs related to consumer data processing must be retained for a minimum of 12 months
  • DP-49: Azure Log Analytics supports analytics retention up to 2 years and long-term retention up to 12 years in low-cost cold tiers
  • DP-50: Log storage costs range from $0.10 to $25/GB annually; mid-size companies spend $3,000-$20,000/year, enterprises $500,000+

5. Observability Platform Clustering — Broader Expectations

  • DP-51: Users expect platforms to collect from multiple cluster sources simultaneously: node metrics, container metrics, Kubernetes API metrics, and application metrics
  • DP-52: eBPF-based observability platforms (e.g., Groundcover) are gaining adoption for zero-instrumentation clustering visibility
  • DP-53: Datadog and Dynatrace are the managed enterprise standard where operational overhead must be minimized; open-source stacks require more operational investment
  • DP-54: The industry expectation for 2025-2026 is "unified observability" — logs, metrics, and traces from a single backend, not separate silos

6. Loki vs. Elasticsearch: Key Production Trade-offs

  • DP-55: Loki does not index log line content — only metadata labels — making it fast to ingest but slow to query non-indexed fields
  • DP-56: Elasticsearch indexes nearly every token in every log line via an inverted index — full-text search is fast, but indexing is expensive
  • DP-57: Loki uses far less CPU and RAM per ingested log than Elasticsearch — resource efficiency is its primary production advantage
  • DP-58: Elasticsearch is better for large-scale enterprise teams needing advanced analytics and complex ad-hoc queries on unknown patterns
  • DP-59: Loki is preferred for Kubernetes logging because it naturally labels logs by pod/namespace/cluster and integrates with Grafana/Prometheus
  • DP-60: Loki does not support OTLP ingestion natively — this is a gap that forces teams to use the OTel Collector as an intermediary
  • DP-61: High-cardinality data (user IDs, IP addresses, trace IDs) is a structural weakness for Loki and a strength for ClickHouse

7. Durability Requirements and Compliance Controls

  • DP-62: Write-once storage, hashing, and access monitoring are the expected triad for log integrity and chain-of-custody compliance
  • DP-63: Availability zone redundancy is expected as a default in production — single-zone deployments are considered a reliability risk
  • DP-64: Multi-region workspace replication (as of GA May 2025) is the expectation for critical observability workloads
  • DP-65: Durability compliance controls must cover GDPR, SOX, HIPAA, PCI DSS, and CCPA minimum retention periods

8. OTLP / OpenTelemetry Backend Requirements

  • DP-66: OTLP must support traces, metrics, and logs as first-class data types — backends without log support via OTLP are considered incomplete
  • DP-67: Protocol supports gRPC and HTTP transports using Protocol Buffers schema — both must be available for vendor-agnostic deployment
  • DP-68: Backpressure signaling is required: servers must signal overload; clients must throttle — this is a hard protocol requirement
  • DP-69: OTLP ensures reliable delivery with acknowledgement signals from server to client — at-least-once delivery is the minimum expectation
  • DP-70: Most SaaS observability vendors support OTLP as an ingestion protocol in 2025 — it is now the de facto standard over proprietary agents
  • DP-71: Red Hat OpenShift has declared itself an OTLP-native platform — vendor OTLP nativity is now a competitive differentiator
  • DP-72: A backend must receive, store, and analyze all three telemetry signals (traces, metrics, logs) — split backends are an anti-pattern users want to avoid

9. SLA and Uptime Expectations for Log Analytics

  • DP-73: 99.9% uptime requires automated failover, 24/7 monitoring, and load balancing — minimum for production log analytics
  • DP-74: 99.95% uptime requires geographic redundancy, automated scaling, and tested disaster recovery procedures
  • DP-75: 99.99% uptime requires fully automated failover and zero-downtime deployments — typically for payment/audit-critical log pipelines
  • DP-76: 99.9% = 8.77 hours downtime/year; 99.99% = 52.6 minutes/year; 99.999% = < 6 minutes/year
  • DP-77: Analytics pipelines (log search) are typically tier-3 (99.0%); alerting/ingestion pipelines are tier-1 (99.9%)
  • DP-78: Setting unrealistic 99.99% SLA targets without infrastructure to support them is a documented anti-pattern causing engineering burnout

Summary: Key Themes

Theme User Expectation (2025-2026)
Clustering AZ-redundant by default; multi-region replication as GA feature
Cost 60-90% cost reduction vs ELK is the migration benchmark
Compression 10:1 minimum; tiered storage (hot/warm/cold) mandatory
Retention 90 days free/default; compliance frameworks drive 1-12 year extended retention
Protocol OTLP native ingestion required; gRPC + HTTP transport both expected
Durability Write-once, hash-verified, AZ-replicated, compliance-auditable
SLA 99.9% for analytics; 99.99% for ingestion/alerting pipelines
Alternatives ClickHouse and Loki are the primary Elasticsearch replacements; unified observability backends are the direction

Sources