Member since
04-21-2021
1
Post
0
Kudos Received
0
Solutions
04-21-2021
03:05 PM
Hello, I wanted to parse the following JSON file flow file { "vehicle_speed": 657, "vehicle_temp": 99, "sensor_level": 45, "temp": [ { "sensor_number": 0, "sensor_description": "Exists", "sensor_name": 43 }, { "sensor_number": 1, "sensor_description": "Exists", "sensor_name": 31, } ], "timestamp": 161903601000 } into two flow files ("temp" element value is dynamic and can contain different number of json not necessarily two as in this example) { "vehicle_speed": 657, "vehicle_temp": 99, "sensor_level": 45, "sensor_number": 0, "sensor_description": "Exists", "sensor_name": 43, "timestamp": 161903601000 } and { "vehicle_speed": 657, "vehicle_temp": 99, "sensor_level": 45, "sensor_number": 1, "sensor_description": "Exists", "sensor_name": 31, "timestamp": 161903601000}
... View more
Labels:
- Labels:
-
Apache NiFi