Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 06-22-2016 08:49 AM
Hi,
I've got more than one hundred files to tail and I would like to use patterns in the File to Tail property.
For example : /donapp/*/p00/wi*/log/*.?.*log.2016-06-22
Do you think it's possible to improve this processor ? Or is there another way to do it ?
Thanks
Created 06-22-2016 04:00 PM
Hi @Thierry Vernhet,
NiFi is an Apache software, for improvement wish I'd recommend you to raise a JIRA on https://issues.apache.org/jira/browse/NIFI or to subscribe to dev mailing list (https://nifi.apache.org/mailing_lists.html) and start a discussion on this list about this subject.
In any case, IMO it seems to be a valid point but it needs to go through Apache process.
Hope this helps.
Created 06-22-2016 04:00 PM
Hi @Thierry Vernhet,
NiFi is an Apache software, for improvement wish I'd recommend you to raise a JIRA on https://issues.apache.org/jira/browse/NIFI or to subscribe to dev mailing list (https://nifi.apache.org/mailing_lists.html) and start a discussion on this list about this subject.
In any case, IMO it seems to be a valid point but it needs to go through Apache process.
Hope this helps.
Created 06-23-2016 09:24 AM
Thanks for your answer.
Created 06-23-2016 03:29 AM
Is the intent that it could use patterns to find a file to tail or is it that it will find the file(s) to tail? If it is meant to be about finding a single file then this seems doable. If the idea is to match on multiple files at once can you share how you expect it to behave?
Created 06-23-2016 09:17 AM
Hi @jwit
The idea is to match on multiple files. Instead of create several processors with one file to tail for each one, I'd like to create only one processor with a "pattern" to tail which adresses several files.
Obviously, we except for each flow ingested the right properties "path, filename ... " of the original file tailed in this flow. So the properties values may change with each flow.
Let me know if it's clear to you.
Thanks