Wednesday, July 6, 2011

Analyzing web server logs

Every web server has the ability to log the accesses to it. These Server Logs can be used as a diagnostic tool to determine the source and intent of access.

In most cases the access of a web server is to retrieve a resource such as a webpage. In addition requests can be made to determine weaknesses and vulnerabilities in the configuration of the server. These accesses are those made by hackers.


Cross-correlating Google Analytics with observations from server logs

Used with Google Analytics a more complete picture of what and where a visitor was looking for and where he/she went after finding your website.

In addition to the actual IP address (or host) the search-string that the visitor used to make a search will be recorded in the server log. The search engine and other data is also returned in the server log entry. To locate the IP address you can perform a reverse IP Lookup, Google Analytics does this for you.

The advantage of direct inspection of the web server log is that the access will be recorded even though the visitor had been using a method to suppress their information. The easiest way to stop Google Analytics collecting your information is to disable JavaScript in your browser.

No comments: