Support Questions
Find answers, ask questions, and share your expertise

how to to filter on current date in GetFile processor at Nifi in order

New Contributor

I have lot of log files I need to get some specific file(based on date) for that I use regular expression in GetFile(file filter option).

I have files with name

logYY-MM-DD*.csv, 

log20-06-14_180000.csv for example

 

I just want to get the file of today.

So I trie this filter : log${now():format('yy-mm-dd')}.* \.csv but it doesn't work

 

Any idea ? Thanks in advance.