Adding upstream version 1.34.4.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
e393c3af3f
commit
4978089aab
4963 changed files with 677545 additions and 0 deletions
13
plugins/parsers/xpath/testcases/string_join/telegraf.conf
Normal file
13
plugins/parsers/xpath/testcases/string_join/telegraf.conf
Normal file
|
@ -0,0 +1,13 @@
|
|||
[[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/*, ';')"
|
Loading…
Add table
Add a link
Reference in a new issue