Loki rejects log entries from other timezone as "too new"


On receiving events from via fluentd from a source system residing in a different timezone loki rejects them as “too new”.
I obviously thought that this is a time misconfiguration issue and checked:
The generating remote host and fluentd host have correct time and timezones.

My loki container shows:

/ $ date
Sun Jan 0 00:100:4174038 1900
/ $ date -u
Mon Jun 1 15:02:32 UTC 2071

In my docker compose yaml, I have,

TZ: Europe/Amsterdam
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro

to make sure it syncs time correctly with the docker host.
But still no luck.
Any ideas?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.