Data transformation in Nifi
Hi Team,
I want to achive the below mentioned transformation in Nifi. using any processor. Please help me to get this done.
sample input:
{
"date": "35 days 11:13:10.88",
"key1": "value1",
"keyToBeMapped1": "hostname.com",
"key2": "value2",
"key3": "value3",
"key4": "value4",
"keyToBeMapped2": "High Paging Rate",
"key5": "PAGING",
"keyToBeMapped3": "A high paging activity has been detected on host abc.lab.com. This could mean that too many processes are being run",
"Entity OID": "keyToBeMapped1",
"Parameter": "keyToBeMapped2",
"Description": "keyToBeMapped3"
}
Expected Output:
{
"date": "35 days 11:13:10.88",
"key1": "value1",
"keyToBeMapped1": "hostname.com",
"key2": "value2",
"key3": "value3",
"key4": "value4",
"keyToBeMapped2": "High Paging Rate",
"key5": "PAGING",
"keyToBeMapped3": "A high paging activity has been detected on host abc.lab.com. This could mean that too many processes are being run",
"Entity OID": "hostname.com",
"Parameter": "High Paging Rate",
"Description": "A high paging activity has been detected on host abc.lab.com. This could mean that too many processes are being run"
}
Regards,
Priyanka

