You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Julian Gimbel (JIRA)" <ji...@apache.org> on 2019/01/04 13:40:00 UTC

[jira] [Created] (NIFI-5931) GetHDFS Property File Filter Regex should use Expression Language

Julian Gimbel created NIFI-5931:
-----------------------------------

             Summary: GetHDFS Property File Filter Regex should use Expression Language
                 Key: NIFI-5931
                 URL: https://issues.apache.org/jira/browse/NIFI-5931
             Project: Apache NiFi
          Issue Type: Improvement
          Components: Core Framework
    Affects Versions: 1.8.0
            Reporter: Julian Gimbel


Currently if we want to get a 2 day old file every day where the filename contains the date we need to get the whole folder of data and then filter the files with routeOnAttribute. It would be good to use expression language to create a file filter regex like:

.*${now():minus(86400000):format('yyyyMMdd')}.*



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)