[[inputs.file]] files = ["./testdata/mix_field_and_object/input.json"] data_format = "json_v2" [[inputs.file.json_v2]] measurement_name = "openweather" [[inputs.file.json_v2.field]] path = "weather.#.main" rename = "summary" [[inputs.file.json_v2.field]] path = "weather.#.description" [[inputs.file.json_v2.object]] path = "@this" included_keys = ["coord_lat", "coord_lon", "main_temp", "wind_speed"] # List of JSON keys (for a nested key, prepend the parent keys with underscores) that should be only included in result tags = ["id", "name"] # List of JSON keys (for a nested key, prepend the parent keys with underscores) to be a tag instead of a field