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

10 lines
293 B
Text

[[inputs.file]]
files = ["./testcases/name_expansion/test.json"]
data_format = "xpath_json"
xpath_native_types = true
[[inputs.file.xpath]]
metric_name = "'devices'"
metric_selection = "/devices/*"
field_selection = "descendant::*[not(*)]"
field_name_expansion = true