LogParser query to grab only external IP addresses from IIS logs?
Posted
by Josh
on Server Fault
See other posts from Server Fault
or by Josh
Published on 2010-02-01T14:59:56Z
Indexed on
2010/04/22
20:03 UTC
Read the original article
Hit count: 319
I'm working on a public website that is used by both external visitors and internal employees. I'm after the external visitor hits, but I can't think of a good way to filter out the internal IP ranges.
Using LogParser, what is the best way to filter IISW3C logs by IP range?
This is all I've come up with so far, which can't possibly be the best or most efficient way.
WHERE [c-ip] NOT LIKE (10.10.%, 10.11.%)
Any help is appreciated.
© Server Fault or respective owner