From 0e0d3ef14dd2e59f86040e383155b4916d90230f Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 2 Jan 2022 00:04:18 +0100 Subject: vidhar: loki: ... --- hosts/vidhar/default.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'hosts/vidhar/default.nix') diff --git a/hosts/vidhar/default.nix b/hosts/vidhar/default.nix index 6002947f..fe08698d 100644 --- a/hosts/vidhar/default.nix +++ b/hosts/vidhar/default.nix @@ -164,6 +164,18 @@ http_listen_port = 9094; grpc_listen_port = 9095; }; + common_config = { + storage.filesystem = {}; + }; + schema_config.configs = [ + store = "boltdb-shipper"; + object_store = "filesystem"; + schema = "v11"; + index = { + prefix = "index_"; + period = "24h"; + }; + ]; }; }; services.promtail = { -- cgit v1.2.3