1
0
Fork 0
telegraf/plugins/parsers/json_v2/testdata/object/telegraf.conf

13 lines
501 B
Text
Raw Normal View History

[[inputs.file]]
files = ["./testdata/object/input.json"]
data_format = "json_v2"
[[inputs.file.json_v2]]
measurement_name = "bart_json_v2"
[[inputs.file.json_v2.object]]
path = "root.station"
disable_prepend_keys = true
included_keys = ["etd_estimate_minutes"]
tags = ["name", "etd_destination"]
[inputs.file.json_v2.object.fields]
etd_estimate_minutes = "int"