From b7d758b115f7b50e83015e713f92f2b6cfe22080 Mon Sep 17 00:00:00 2001 From: I504010 Date: Tue, 17 Dec 2024 15:10:37 +0100 Subject: [PATCH] [opentelemetry] test tpls --- system/opentelemetry/templates/_kvm-config.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/opentelemetry/templates/_kvm-config.tpl b/system/opentelemetry/templates/_kvm-config.tpl index 1c826571fd..594eb60785 100644 --- a/system/opentelemetry/templates/_kvm-config.tpl +++ b/system/opentelemetry/templates/_kvm-config.tpl @@ -49,7 +49,7 @@ transform/kvm_logs: - resource.attributes["log.type"] == "files" statements: - merge_maps(attributes, ExtractGrokPatterns(body, "%{TIMESTAMP_ISO8601:timestamp}%{SPACE}%{GREEDYDATA:log}",true), "upsert") - - set(attributes["config.parsed"], "files") where attributes["log_level"] + - set(attributes["config.parsed"], "files") where attributes["log_level"] != nil {{- end }} {{- define "kvm.pipeline" }}