About Retention Policies

Hello,

I’ve set RP telegraf.autogen 14d. Yet, I see there is data older than 14d, it goes to 20-21d. Is this normal? What could be wrong? I can provide logs/ss if you need any.

Influxdb version 1.8.0

@Mert retention policies drop data based on when the data was written, not the timestamp of the data. So if you write points with timestamps older than 14 days, they won’t get dropped until 14 days after they’re written.

1 Like

I see, but I write data in a stream. There may be a delay of a few minutes not days.
Something else must be wrong with my configurations then. Thanks