All Tags > logparser > iis (RSS)
  • How do you convert date format from dd/mm/yyyy to yyMMdd?

    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...
    Posted to Forum by thaichi23 on 10-22-2009, 4:42 AM
  • How to query IIS log entries logged in the past N minutes?

    Host in located in EDT and IISW3C logs are logging to GMT. I found the example for EVT logs in logparser help, e.g.: > logparser "SELECT * FROM Application WHERE TimeGenerated >= TO_LOCALTIME( SUB( SYSTEM_TIMESTAMP(), TIMESTAMP( '20', 'mm' ) ) )" How can I retrieve IISW3C...
    Posted to Forum by ApexIT on 09-22-2009, 1:28 PM
Page 1 of 1 (2 items)
Microsoft Communities