wuchunfu opened a new issue, #8103: URL: https://github.com/apache/seatunnel/issues/8103
### Search before asking - [X] I had searched in the [feature](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22Feature%22) and found no similar feature requirement. ### Description For example, if you want to filter files that meet the conditions under a certain date path, although you can use regular expressions to achieve this, it is relatively cumbersome. Example file path ```bash /data/input_data/beijing/20241111/103_20241110141500_000.csv /data/input_data/beijing/20241112/103_20241120141500_000.csv ``` Input the path grok expression, such as ```bash /data/input_data/%{NOTSPACE:area}/%{YEAR:folderYear}%{MONTHNUM:folderMonth}%{MONTHDAY:folderDay}/%{BASE16NUM:prefix}_%{YEAR:year}%{MONTHNUM:month}%{MONTHDAY:day}%{HOUR:hour}%{MINUTE:minute}%{SECOND:second}_%{BASE16NUM:suffix}.csv ``` The output path can use the variables in the input path, such as ```bash /data/output_data/${area}/${folderYear}${folderMonth}${folderDay}/${prefix}_${year}${month}${day}${hour}${minute}${second}_${suffix}.csv ``` ### Usage Scenario _No response_ ### Related issues _No response_ ### Are you willing to submit a PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
