From 1717c31ab81f43c3a95422280529d264f16c4107 Mon Sep 17 00:00:00 2001 From: Varac <varac@varac.net> Date: Mon, 31 May 2021 14:34:32 +0200 Subject: [PATCH] Reduce boltdb index period to 24h 168h produced the following error: invalid schema config: boltdb-shipper works best with 24h periodic index config. Either add a new config with future date set to 24h to retain the existing index or change the existing config to use 24h period. --- ansible/roles/apps/templates/settings/loki-stack.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/apps/templates/settings/loki-stack.yaml b/ansible/roles/apps/templates/settings/loki-stack.yaml index 4316b526c..f603e8cbd 100644 --- a/ansible/roles/apps/templates/settings/loki-stack.yaml +++ b/ansible/roles/apps/templates/settings/loki-stack.yaml @@ -28,7 +28,7 @@ loki: schema: v11 index: prefix: index_ - period: 168h # 7 days + period: 24h storage_config: boltdb_shipper: active_index_directory: /tmp/loki/boltdb-shipper-active -- GitLab