Hello, There is a hostname() function in EL, but there is not one specifically for the primary node.
I think this has come up before and probably makes sense, it just hasn't been implemented yet. -Bryan On Thu, Mar 1, 2018 at 9:28 AM, ashmeet kandhari <[email protected]> wrote: > Hi all, > > Is there a way in nifi flows to get the primary node hostname or ip in > variable form eg: ${primary_node_hostname}. > > UseCase: ListenHTTP processor running on the primary node, then I want to > set the URL dynamically like http://${primary_node_hostname}/endPoint. > > > Thanks, > Ashmeet Kandhari
