I’m trying to send logs from fluentbit to loki.
My loki configuration is quite simple:
auth_enabled: false
limits_config:
reject_old_samples: false
reject_old_samples_max_age: 52w
server:
http_listen_port: 3100
common:
ring:
instance_addr: 127.0.0.1
kvstore:
store: inmemory
replication_factor: 1
path_prefix: /tmp/loki
schema_config:
configs:
- from: 2020-05-15
store: tsdb
object_store: filesystem
schema: v13
index:
prefix: index_
period: 24h
storage_config:
filesystem:
directory: /tmp/loki/chunks
But I get the following error messages:
rpc error: code = Code(400) desc = entry with timestamp 2025-02-21 05:00:09 +0000 UTC ignored, reason: ‘entry too far behind, entry timestamp is: 2025-02-21T05:00:09Z, oldest acceptable timestamp is: 2025-03-18T05:02:21Z’,
entry with timestamp 2025-02-21 05:00:09 +0000 UTC ignored, reason: ‘entry too far behind, entry timestamp is: 2025-02-21T05:00:09Z, oldest acceptable timestamp is: 2025-03-18T05:02:21Z’,
entry with timestamp 2025-02-22 05:00:02 +0000 UTC ignored, reason: ‘entry too far behind, entry timestamp is: 2025-02-22T05:00:02Z, oldest acceptable timestamp is: 2025-03-18T05:02:21Z’,
entry with timestamp 2025-02-22 05:00:02 +0000 UTC ignored, reason: ‘entry too far behind, entry timestamp is: 2025-02-22T05:00:02Z, oldest acceptable timestamp is: 2025-03-18T05:02:21Z’,
entry with timestamp 2025-02-23 05:00:01 +0000 UTC ignored, reason: ‘entry too far behind, entry timestamp is: 2025-02-23T05:00:01Z, oldest acceptable timestamp is: 2025-03-18T05:02:21Z’,
…
user ‘fake’, total ignored: 51 out of 52 for stream: {job="resticprofile", service_name="resticprofile"}"
Since today’s date is 2025-03-19, I don’t get why the entry is being rejected.
Furthermore, I don’t get why the oldest acceptable timestamp is 2025-03-18…
May someone enlighten me?