Log file analysis is the review of your web server’s access logs to see exactly which pages search engine crawlers request, how often and with what result. It is the only direct record of what Googlebot actually does on your site, as opposed to what tools and reports estimate.
How log file analysis works
Every time something requests a file from your server, the server can write a line to its access log. A typical line records the IP address, the date and time, the URL requested, the HTTP status code returned, the size of the response, the referring page and the user agent, which is the name the visitor gives for itself.
Analysis starts by filtering those lines down to search engine crawlers. Because anyone can claim to be Googlebot in the user agent, genuine requests are verified with a reverse DNS lookup or by checking the IP address against the ranges Google publishes. You then group requests by URL, site section, status code and date to answer questions such as:
- Which important pages Googlebot rarely or never visits.
- How much crawling goes to parameter URLs, filters, internal search pages and other low-value addresses.
- Which URLs return 404s, server errors or redirect chains to crawlers.
- How quickly new or updated pages are crawled after publishing.
- Which AI crawlers, such as GPTBot or ClaudeBot, visit and how often.
Tools range from Screaming Frog’s Log File Analyser for small and medium sites to platforms such as Splunk or an Elastic stack for very large ones. On a modest site, a spreadsheet and some patience can be enough.
Why it matters
Search Console’s Crawl Stats report gives a useful summary, and a crawler shows what could be crawled, but only logs show what was crawled, request by request. On large sites, especially online shops with filtered navigation, logs often reveal that much of Google’s attention goes to near-duplicate URLs while new products wait. That is a crawl budget problem you cannot see clearly any other way.
There is a UK-specific point as well. Access logs contain IP addresses, which can be personal data under UK GDPR. Before exporting logs or sending them to anyone, filter them to verified crawler traffic or strip visitors’ IP addresses, share only what the analysis needs and delete copies when the work is done. Your privacy notice should already explain that the server keeps logs.
Common mistakes
- Analysing a week of logs on a site where Google visits some sections only monthly. Collect several weeks at least.
- Trusting the user agent without verifying the IP address, which lets scrapers pose as Googlebot and distort the data.
- Forgetting that a CDN or caching layer may answer many requests before they reach your server, so the server’s own logs show only part of the picture.
- Not joining logs to a site crawl, which hides pages that are never requested at all.
- Sharing raw logs full of visitor IP addresses without thinking about data protection.
How to act on it
First, find out whether logs exist. Many shared hosting plans keep them briefly or not at all, while managed hosts and CDNs may offer log access on certain plans, each under a different name. Ask your host or developer to retain at least a month of access logs.
Then run a focused analysis: verified Googlebot requests grouped by site section and status code, compared with a full crawl of the site and your XML sitemap. Look for important pages that are never crawled, crawling wasted on worthless URLs, and errors. Fix the causes through internal linking, robots.txt rules, canonical tags or redirects, and check again a month later. Log analysis is part of my technical SEO service for larger sites, where it often changes the order in which fixes should be made.
