I have a JSON data coming as {"x":"avc123.abc.com"}
I would like to have a processor in nifi to extract only the integer (123) from the entire value and output it from the process
secondly, I would like that integer value (123) to be added in the JSON event with different keys such as the final JSON event would be
{"x":"avc123.abc.com"
"y":"123"
}
I already tried RouteText
and ExtractText
processors but it didn't work.