Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

In the past I've installed WinTail (similar to tail -f in Linux) to watch my IIS access logs on my Windows 2008 server.

When I tried this and other similar software the refresh rate is extremely slow.

I believe this latency is due to Windows writing to the log file every 20 seconds or so. Any ideas how to speed that process up so I can see the sessions live?

share|improve this question

migrated from stackoverflow.com Oct 8 '11 at 23:38

This question came from our site for professional and enthusiast programmers.

1 Answer 1

Checkout logParser.exe http://www.microsoft.com/en-us/download/details.aspx?id=24659

It seems to understand that IIS doesnt flush immediately but can access this very recent data.

I use a command like this to get very recent data out:

logparser -q:ON -o:CSV ""select TO_LOCALTIME(TO_TIMESTAMP(date,time)) as LocalTime, c-ip, cs-uri-stem, cs-uri-query, cs(Referer), cs(User-Agent), time-taken from c:\weblogs\u_ex120601.log where TO_LOCALTIME(TO_TIMESTAMP(date,time)) > timestamp('120601 19:00:00','dd/MM/yyyy hh:mm:ss')

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.