Hello,
My Grafana keeps only the last 14 days for all my graphs.
I checked in InfluxDB, I don’t have any retention policy.
Do you have an idea please ?
Regards,
Hello,
My Grafana keeps only the last 14 days for all my graphs.
I checked in InfluxDB, I don’t have any retention policy.
Do you have an idea please ?
Regards,
You always have a retention policy, atleast the default.
SHOW RETENTION POLICIES ON “database-name”
Hi mattes,
There is two retention policy on my InfluDB.
SHOW RETENTION POLICIES ON “_internal”
name duration shardGroupDuration replicaN default
monitor 168h0m0s 24h0m0s 1 true
SHOW RETENTION POLICIES ON “influx_db”
name duration shardGroupDuration replicaN default
autogen 8640h0m0s 168h0m0s 1 true
I tried to create the retention on influx_db with 8640h (360jrs) but it doesn’t work.
In /etc/influxdb/influxdb.conf :
[retention]
enabled = true
check-interval = “30m”
I missed something ?
Regards,
Its simple, but maybe the pretty good docs will help
Or Influx Forum
Regards
Edit: if you want to do it via UI - try this
InfluxDB Studio