Thanks for the replies, I was using ${hostname()}, I found the reason it wasn't 
working was that the NiFi instance was running in a Docker container. When I 
tried it on a non Docker container instance it worked fine.
Dave
 

    On Thursday, 30 March 2017, 0:43, Mark Payne <[email protected]> wrote:
 

 Dave,

You should be able to use the hostname() function of the Expression Language. 
For example ${hostname()}

-Mark

Sent from my iPhone

> On Mar 29, 2017, at 5:00 PM, davidrsmith <[email protected]> wrote:
> 
> 
> Hi
> 
> I have a NiFi 0.7.1 cluster running on centos 6.7 , I have a bespoke 
> processor in which I use to do some reporting. One of it's property 
> descriptors is the host fqdn, do you how I can make the servers hostname 
> available within NiFi so that I can use it in my property descriptor
> 
> Thanks Dave
> 
> Sent from Samsung tablet

   

Reply via email to