Skip to content
Weik.ioDocs
2026.2
Try Weik.io

Retention isn't applied

Weik.io 2026.2

A telemetry store runs with a different number of days than you set in the installation's settings.

On this page
Kind Severity Who sees it
retention-not-applied Warning, and an error while a store keeps fewer days than set Platform administrators, in a list that isn’t narrowed to an environment or a project

What it means#

A store that keeps more days than you set uses more disk. A store that keeps fewer days deletes records you expect to have.

You set the days each store keeps in the installation’s settings.

Store Days in a new installation
Log store 30
Metric store 90
Trace store 7

What raises it#

When the store didn’t start with the days you set and still runs with its earlier days, the problem shows at the next check, within 30 seconds. When the store runs with other days for another reason, the problem shows after two minutes. That happens when you set fewer days without confirming that older records are erased, or when the backend hasn’t changed the store. It’s an error while the store keeps fewer days than you set.

What to check#

On a hub server, in the stack’s folder, run weikio-backend doctor:

Terminal
$ docker compose run --rm infra weikio-backend doctor

The retention lines of doctor show the days you set and the days each store runs with.

Read the store’s log. For the log store, run:

Terminal
$ docker compose logs --tail 50 victoria-logs

How to fix it#

When the store didn’t start with the days you set, restart it. While the store restarts, the hub keeps the incoming telemetry and sends it on once the store answers. To restart the log store, run:

Terminal
$ docker compose restart victoria-logs

The metric store is victoria-metrics and the trace store victoria-traces.

When you set fewer days without confirming that older records are erased, set the days again. For the log store, run:

Terminal
$ weikio settings set --logs-retention <days>d

The command lists what the shorter retention erases. To confirm, answer yes or add --yes.

When the backend hasn’t changed the store, read the backend’s log in the stack’s folder:

Terminal
$ docker compose logs backend

Sign in to the live demo

Sign in with the shared viewer account. It can open every screen of the example projects but can't change anything.

E-mail
viewer@demo.weik.io
Password
try-weikio-live-demo
Open the live demo