Get NiFi environment details as Nifi DEV/TEST/PROD

Viewed 9

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?

0 Answers
Related