Etienne. Is this what you're looking for?
https://nifi.apache.org/docs/nifi-docs/html/expression-language-guide.html#hostname Thanks, Phil On Wed, Feb 14, 2024 at 5:41 AM Etienne Jouvin <[email protected]> wrote: > 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]> a > écrit : > >> Etienne, >> >> What instance name / id are you referring to? >> >> On Tue, Feb 13, 2024 at 8:43 AM Etienne Jouvin <[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 >>> >>
