From 0de5c462825a6c8e31bac0219a862b204ff93d53 Mon Sep 17 00:00:00 2001 From: Alpha Chen Date: Sun, 29 Sep 2024 14:44:01 -0700 Subject: [PATCH] grafana explore logs --- lotus-land-story/loki.yml | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/lotus-land-story/loki.yml b/lotus-land-story/loki.yml index 2f8639b..a5be73e 100644 --- a/lotus-land-story/loki.yml +++ b/lotus-land-story/loki.yml @@ -4,7 +4,7 @@ - name: Set up Loki hosts: lotus-land-story vars: - version: 2.9.0 + version: 3.2.0 tasks: - name: Provision Grafana @@ -50,9 +50,12 @@ store: inmemory compactor: retention_enabled: true - # delete_request_store: filesystem + delete_request_store: filesystem limits_config: retention_period: 168h + volume_enabled: true + pattern_ingester: # for Explore Logs + enabled: true schema_config: configs: - from: 2020-10-24 @@ -72,13 +75,13 @@ schema: v12 store: tsdb - # - from: 2024-09-28 - # index: - # period: 24h - # prefix: index_ - # object_store: filesystem - # schema: v13 - # store: tsdb + - from: 2024-09-29 + index: + period: 24h + prefix: index_ + object_store: filesystem + schema: v13 + store: tsdb storage_config: filesystem: