How do i write IIS log into Window Event Log

How do i write IIS log into Window Event Log

Post by TmluYW » Fri, 23 Apr 2010 07:03:01


Hello All,

Can ny one explain me how do i write the IIS logs into Event Logs. i.e ny
request for my site coming into IIS, i want to save the user name, IP address
and date into windows log?

Is it possible to do so? if yes how can i achieve it?

Thank you
Ninad
 
 
 

How do i write IIS log into Window Event Log

Post by Ken Schaef » Fri, 30 Apr 2010 00:31:30

It can be done in many ways (e.g. write a simple service to do this)

However, IIS logs are designed to scale to many thousands of requests per
second. Windows event logs are not (that's why ETW framework was created).

Why do you want to put this data into the Windows event log? If it's to put
it into a 3rd party reporting tool, then it would be better to have the
reporting tool import the raw IIS logs...

Cheers
Ken

http://www.yqcomputer.com/