1
0
Fork 0
telegraf/plugins/parsers/xpath/testcases/string_join/telegraf.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

13 lines
No EOL
306 B
Text

[[inputs.file]]
files = ["./testcases/string_join/test.json"]
data_format = "xpath_json"
xpath_native_types = true
[[inputs.file.xpath]]
metric_name = "'foo'"
timestamp = "//timestamp"
timestamp_format = "unix"
[inputs.file.xpath.fields]
cpus = "string-join(//cpus/*, ';')"