I am working on a Jolt transforms processor in Apache Nifi, I am facing some issues, please help me out.
Input:
{
"resourceid": "d6315d4d7f0c",
"timestamp": [
166406,
166404,
166504
],
"Key": [
"mem",
"net",
"diskspace"
],
"data": [
89,
90,
91
]
}
Expected output:
[
{
"resourceid": "d6315d4d7f0c",
"timestamp": 166406,
"Key": "mem",
"data": 89
},
{
"resourceid": "d6315d4d7f0c",
"timestamp": 166404,
"Key": "net",
"data": 90
},
{
"resourceid": "d6315d4d7f0c",
"timestamp": 166504,
"Key": "diskspace",
"data": 91
}
]
