Is there any way to recursively delete files with file_remove?
I have applications logging in the following structure:
We're able to define an input and collect the logs no problem with the following definition:
The number of variance of apps are large, so ideally I would want to specify the schedule to delete logs with the following:
Every 1 min
Exec file_remove('D:\\AppLogs\\Access-*.log', (now() - 259200 ));
But this looks specifically in the directory defined and looks like you cannot recursively search the directory heirarchy for the file like you can in the input.
Is there any way I can get this functionality?