Notification

Urchin WebAnalytics Software is discontinued and is no longer supported. All Urchin documentation applies only to the Urchin product as it was at the time of discontinuation, and does not apply to any Google Analytics products or services.

How Do I Use IP Address Filters with NCSA (Apache) Logs?

Overview

It is very common to use IP address filters with Profiles, for the purposes of including only IP addresses from a particular IP address, excluding the IP addresses of internal monitoring systems, and so forth. This is easily done with Urchin. However, it is important to use the proper 'Filter Field' specification when setting up an IP address filter.

Procedure

When using creating a new filter or editing a filter, be sure to select the 'Remote Host' filter field in the Filter Settings screen. This is the actual NCSA field that stores the IP address of the visitor in the webserver log. Do not use the 'IP Address' filter field, as this applies only to the IP address field in W3C (IIS) webserver logs.

Other Considerations

Remember that Urchin filter patterns are POSIX regular expressions. Therefore, be sure to escape the '.' characters in your IP address specification to ensure that Urchin does not interpret them as metacharacters for the regular expression. For example, to filter on the IP address '172.16.1.1', you would specify the filter pattern as '172\.16\.1\.1'. As another example, to filter on the IP address range '192.168.xxx.xxx', the filter field would be specified as '192\.168\.'.

Multiple filter patterns must be separated by a pipe character:
192\.168\.10\.115|10\.2\.23\.5

Search
Clear search
Close search
Google apps
Main menu
6660869061286421598
true
Search Help Center
true
true
true
false
false