1
0
Fork 0
telegraf/plugins/processors/template/sample.conf
Daniel Baumann 4978089aab
Adding upstream version 1.34.4.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-05-24 07:26:29 +02:00

11 lines
483 B
Text

# Uses a Go template to create a new tag
[[processors.template]]
## Go template used to create the tag name of the output. In order to
## ease TOML escaping requirements, you should use single quotes around
## the template string.
tag = "topic"
## Go template used to create the tag value of the output. In order to
## ease TOML escaping requirements, you should use single quotes around
## the template string.
template = '{{ .Tag "hostname" }}.{{ .Tag "level" }}'