Fluent Bit logs `[error] [output:es:es.0] HTTP status=400 URI=/_bulk` with `mapper_parsing_exception`
AdvancedTroubleshootingLogging: Loki, Fluent Bit and Elasticsearch
Answer
Likely causes → Mapping conflict: one app sends status as a string, another as an object or number, and the index mapping rejects the document. Kubernetes labels with dots (app.kubernetes.io/name) also clash with object mappings.
Diagnose → Set Trace_Error On in the es output to print the ES response; check GET logs-*/_mapping/field/status.
Fix → Use Replace_Dots On in the es output, rename conflicting fields with a modify filter, or route the app to its own index.
Prevent → Index templates with explicit mappings and dynamic: false for unknown fields.
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