I have requirement to print the current environment details as NIFI DEV/TEST/PROD based on the running environment.
I tried ${hostname(true)}, but it returns the hostname. How can we get the environment info as DEV/TEST/PROD?
I have requirement to print the current environment details as NIFI DEV/TEST/PROD based on the running environment.
I tried ${hostname(true)}, but it returns the hostname. How can we get the environment info as DEV/TEST/PROD?