grafana/loki

Document behaviour where succesfully ingested logs will not be queried from the ingester

Open

#8,621 opened on Feb 24, 2023

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Go (3,997 forks)batch import
help wantedtype/docs

Repository metrics

Stars
 (28,187 stars)
PR merge metrics
 (Avg merge 5d 20h) (522 merged PRs in 30d)

Description

Observed behaviour:

  • Loki doesn't don't query ingesters for data that is older than 3 hours
  • Loki does support ingesting logs with a timestamp between now-7days -> now
  • Those logs are ingested, but these will not be queried from the ingesters (by design)
  • This can be confusing, as it looks like logs are not succesfully ingested.
  • These logs will be queryable after a flush and optionally expiration of the TTL of the cached query result in the result cache.

This issue is to not forget to document this behaviour.

Contributor guide