HI, can someone help with Loki ( version v1.3.0) data retention period rise? I have tried it myself and lost all old logs (
I have updated
index:
period: "168h"
and
table_manager:
retention_period: "168h"
from 120h to 168h and can't scrape old logs anymore. What I do wrong?
thanks for help

You should not change the index period without using a new schema.
if you want to change the schema, insert a new one that start in the future, and it will swap automatically when on the day after.
Here is a doc about retention : https://github.com/grafana/loki/blob/master/docs/operations/storage/retention.md
Can you also explain to me what you mean by can't scrape old logs do you mean you can't query old logs, and when you say old can you tell me what timerange?
Your config as pasted is going to delete logs older than 168h, which is 7 days. (retention_period: "168h")
@slim-bean Ok now I just change retention_period: "168h" to retention_period: "720h"
and now I got:
"error initialising loki" err="error initialising module: table-manager:
retention period should now be a multiple of periodic table duration"
What I should add to my loki config to rise retention period from 168h to 720h ?
This issue has been automatically marked as stale because it has not had any activity in the past 30 days. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.