11 lines
483 B
Text
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" }}'
|