Skip to content

Commit

Permalink
[opentelemetry] test tpls
Browse files Browse the repository at this point in the history
  • Loading branch information
timojohlo committed Dec 17, 2024
1 parent a6361d0 commit b7d758b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/opentelemetry/templates/_kvm-config.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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" }}
Expand Down

0 comments on commit b7d758b

Please sign in to comment.