1
0
Fork 0
telegraf/plugins/parsers/xpath/testcases/time_timezone_with_offset/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
348 B
Text

[[inputs.file]]
files = ["./testcases/time_timezone_with_offset/test.json"]
data_format = "xpath_json"
xpath_native_types = true
[[inputs.file.xpath]]
metric_name = "'time'"
timestamp = "t"
timestamp_format = "2006-01-02T15:04:05Z07:00"
timezone = "CET"
field_selection = "."
field_name = "id"
field_value = "v"