Open alexg9781 opened 1 year ago
Q1: I use loki 2.7.4, but when I try this document(https://grafana.com/docs/loki/v2.7.x/operations/storage/retention/#example-configuration) to retention old logs within 24 hours , but it could not take effect, is there any thing else I ignore ? Q2: If I use api to delete old logs, I found it could delete from my local disk
PS: my configuration
logs: 2023-04-13T15:42:41.577522634+08:00 stderr F level=info ts=2023-04-13T07:42:41.481094929Z caller=expiration.go:70 msg="overall smallest retention period 1678693361.481, default smallest retention period 1678693361.481"
Have you found a way to fix it?
Q1: I use loki 2.7.4, but when I try this document(https://grafana.com/docs/loki/v2.7.x/operations/storage/retention/#example-configuration) to retention old logs within 24 hours , but it could not take effect, is there any thing else I ignore ? Q2: If I use api to delete old logs, I found it could delete from my local disk
PS: my configuration
logs: 2023-04-13T15:42:41.577522634+08:00 stderr F level=info ts=2023-04-13T07:42:41.481094929Z caller=expiration.go:70 msg="overall smallest retention period 1678693361.481, default smallest retention period 1678693361.481"