File Name Pattern in Directory Monitoring

Posted on May 17, 2023 at 8:00 AM
Hi there

I am trying to set up Directory Monitoring. Its one folder, but with various log files in, each by date. The format specifically in my case looks like:

MS20230515_orders.LOG
MS20230516_orders.LOG
MS20230517_orders.LOG

I want to set it up so as each new days log file starts, it tails on the end of the previous day.

I tried to set the file name pattern as MS2023%%%%_orders.LOG but this didn't seem to work. Is there a way to make this work, ignoring other log files with different file names in the same folder.

Thanks
 
Posted on May 17, 2023 at 8:39 AM
Hi,

Try setting your file name pattern to MS*_orders.LOG.  Then set a user defined ignore rule to ignore files older than two days.

Hope that helps,

Toby

This topic is closed and cannot receive new replies.