Elasticsearch cluster is `yellow` on a single-node setup
BeginnerTroubleshootingLogging: Loki, Fluent Bit and Elasticsearch
Answer
Likely causes → Replicas can't be placed on the same node as their primary, so every index with number_of_replicas: 1 stays yellow.
Diagnose → _cat/shards shows replicas UNASSIGNED with reason INDEX_CREATED.
Fix → For a single-node lab: PUT _all/_settings {"index.number_of_replicas": 0} and set it in the index template. In production, add nodes.
Prevent → Template replicas per environment.
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