Do the expression language functions ip() and hostname() give you what you need?
Steve Hindmarch From: Etienne Jouvin <[email protected]> Sent: Wednesday, February 14, 2024 10:41 AM To: [email protected] Subject: Re: Access instance name You don't often get email from [email protected]<mailto:[email protected]>. Learn why this is important<https://aka.ms/LearnAboutSenderIdentification> Hello. Imagine, I use UpdateAttributes to set an attribute where I put the NiFi instance id or name. This attribute may be used after, for example when I use PutRecord and if I want to add information regarding the NiFi node that do the work. In cluster mode, you can have a node identifier in the cluster, node-1 / node-2 or something like this. But in a single node architecture, how can I do ? Using Parameters Contexte may not works because they will be shared on all cluster nodes. Regards Le mer. 14 févr. 2024 à 01:41, Matt Burgess <[email protected]<mailto:[email protected]>> a écrit : Etienne, What instance name / id are you referring to? On Tue, Feb 13, 2024 at 8:43 AM Etienne Jouvin <[email protected]<mailto:[email protected]>> wrote: Hello all. Just simple question, is there a way to access, from controller service, to the instance name / id event in not cluster implementation? Regards Etienne Jouvin
