Multi-line Java stack traces arrive in Loki/ES as one event per line
IntermediateTroubleshootingLogging: Loki, Fluent Bit and Elasticsearch
Answer
Likely causes → No multiline parser is configured, or the CRI parser runs after multiline grouping.
Diagnose → Search for lines starting with \tat stored as separate entries.
Fix → In Fluent Bit:
[INPUT]
Name tail
multiline.parser cri, java
In Alloy/Promtail use a multiline stage with firstline: '^\d{4}-\d{2}-\d{2}'.
Prevent → Better: log JSON in the app so stack traces are one field.
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