Elasticsearch logs `this action would add [2] shards, but this cluster currently has [1000]/[1000] maximum normal shards open`
IntermediateTroubleshootingLogging: Loki, Fluent Bit and Elasticsearch
Answer
Likely causes → Daily indices per app with default shards exceeded cluster.max_shards_per_node (1000 per non-frozen data node).
Diagnose → _cat/indices?v&s=index and _cluster/stats shard count.
Fix → Delete or shrink old indices, merge per-app indices into data streams with ILM rollover by size.
Prevent → Fewer, bigger shards; do not raise the limit as a fix.
More on Logging: Loki, Fluent Bit and Elasticsearch
Promtail/Alloy logs `server returned HTTP status 400 Bad Request (400): entry with timestamp ... ignored, reason: 'entry out of order' for stream`IntermediateAgents log `server returned HTTP status 429 Too Many Requests (429): Ingestion rate limit exceeded for user fake (limit: 4194304 bytes/sec)`IntermediateLoki rejects pushes with `Per stream rate limit exceeded (limit: 3MB/sec) while attempting to ingest for stream`AdvancedLoki logs `maximum active stream limit exceeded, reduce the number of active streams`AdvancedLogQL query fails with `max entries limit per query exceeded, limit > max_entries_limit (10000 > 5000)`BeginnerLogQL returns `too many outstanding requests` in GrafanaAdvanced