Logstash pipeline logs `Could not index event to Elasticsearch ... "type"=>"illegal_argument_exception", "reason"=>"Limit of total fields [1000] has been exceeded"`
AdvancedTroubleshootingLogging: Loki, Fluent Bit and Elasticsearch
Answer
Likely causes → Dynamic mapping creates a field per unique JSON key (e.g. keys containing IDs), hitting index.mapping.total_fields.limit.
Diagnose → GET logs-*/_mapping and count fields; find the app sending dynamic keys.
Fix → Fix the producer, map the dynamic object as flattened, or set dynamic: false on that object.
Prevent → Index templates with explicit mappings; avoid raising the limit blindly.
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