- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Nifi - How to use a unix variable ?
- Labels:
-
Apache NiFi
Created ‎09-20-2016 04:03 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I would like to know if it is possible to use a Linux variable in Nifi as a value for a property in a Processor for example, so I could point a changing path for input directories, without having to change it in nifi.
Is it possible to do the same thing with a Variable that would contain multiple paths ?
Created ‎09-23-2016 07:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok I found my answer, this is explained in the expression language guide, even if it don't work on my computer for an unknown reason (I can use a java variable defined in the boostrap.conf file through the expression language, but not an environment variable ...)
Created ‎09-20-2016 04:15 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You may find interesting this article:
It supposes that the properties you are thinking about in the processors you use are supporting expression language.
Created ‎09-23-2016 07:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok I found my answer, this is explained in the expression language guide, even if it don't work on my computer for an unknown reason (I can use a java variable defined in the boostrap.conf file through the expression language, but not an environment variable ...)
