45 lines
1.4 KiB
Plaintext
45 lines
1.4 KiB
Plaintext
# Convert values to another metric value type
|
|
[[processors.converter]]
|
|
## Tags to convert
|
|
##
|
|
## The table key determines the target type, and the array of key-values
|
|
## select the keys to convert. The array may contain globs.
|
|
## <target-type> = [<tag-key>...]
|
|
[processors.converter.tags]
|
|
measurement = []
|
|
string = []
|
|
integer = []
|
|
unsigned = []
|
|
boolean = []
|
|
float = []
|
|
|
|
## Optional tag to use as metric timestamp
|
|
# timestamp = []
|
|
|
|
## Format of the timestamp determined by the tag above. This can be any of
|
|
## "unix", "unix_ms", "unix_us", "unix_ns", or a valid Golang time format.
|
|
## It is required, when using the timestamp option.
|
|
# timestamp_format = ""
|
|
|
|
## Fields to convert
|
|
##
|
|
## The table key determines the target type, and the array of key-values
|
|
## select the keys to convert. The array may contain globs.
|
|
## <target-type> = [<field-key>...]
|
|
[processors.converter.fields]
|
|
measurement = []
|
|
tag = []
|
|
string = []
|
|
integer = []
|
|
unsigned = []
|
|
boolean = []
|
|
float = []
|
|
|
|
## Optional field to use as metric timestamp
|
|
# timestamp = []
|
|
|
|
## Format of the timestamp determined by the field above. This can be any
|
|
## of "unix", "unix_ms", "unix_us", "unix_ns", or a valid Golang time
|
|
## format. It is required, when using the timestamp option.
|
|
# timestamp_format = ""
|