# Example taken from: https://github.com/influxdata/feature-requests/issues/160 [[inputs.file]] files = ["./testdata/nested_array_of_objects/input.json"] data_format = "json_v2" [[inputs.file.json_v2]] measurement_name = "new_metric" [[inputs.file.json_v2.object]] path = "@this" disable_prepend_keys = true excluded_keys = ["tags", "timestamp"] tags = ["name"] [inputs.file.json_v2.object.fields] data = "int"