From c4761902b8070c44c88fd8561b514e5a46f09ca7 Mon Sep 17 00:00:00 2001 From: Austin Georgiades <34201358+algchoo@users.noreply.github.com> Date: Thu, 15 Aug 2024 09:34:18 -0400 Subject: [PATCH] update couchdb log expression to accept log_type label (#1303) --- apache-couchdb-mixin/dashboards/couchdb-nodes.libsonnet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apache-couchdb-mixin/dashboards/couchdb-nodes.libsonnet b/apache-couchdb-mixin/dashboards/couchdb-nodes.libsonnet index b9f7506d5..522eae13f 100644 --- a/apache-couchdb-mixin/dashboards/couchdb-nodes.libsonnet +++ b/apache-couchdb-mixin/dashboards/couchdb-nodes.libsonnet @@ -1225,7 +1225,7 @@ local systemLogsPanel(cfg) = { { datasource: lokiDatasource, editorMode: 'code', - expr: '{' + getMatcher(cfg) + ', filename="/var/log/couchdb/couchdb.log"} |~ "$log_level"', + expr: '{' + getMatcher(cfg) + '} |= `` | (filename=~"/var/log/couchdb/couchdb.log" or log_type="couchdb") |~ "$log_level"', queryType: 'range', refId: 'A', },