1
0
Fork 0
telegraf/plugins/processors/unpivot/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

15 lines
584 B
Text

# Rotate multi field metric into several single field metrics
[[processors.unpivot]]
## Metric mode to pivot to
## Set to "tag", metrics are pivoted as a tag and the metric is kept as
## the original measurement name. Tag key name is set by tag_key value.
## Set to "metric" creates a new metric named the field name. With this
## option the tag_key is ignored. Be aware that this could lead to metric
## name conflicts!
# use_fieldname_as = "tag"
## Tag to use for the name.
# tag_key = "name"
## Field to use for the name of the value.
# value_key = "value"