Hello all,
I have my IIS to record daily so the log name is ex091022.log. I want logparser to find the log that has the current date similar to "select * from ex%date%.log"
The only problem is that %date% returns 10/22/09 and that will not automatically grab the right log. I want to grab the date in the yyMMdd format. Is this possible?
My logparser statement works great but this is the only problem. I am going to save the logparser query as a .bat file and let task schedular run this everday at a certain time so that way it automatically grabs the current date's log and slaps it into SQL.