Log file analysis in practice
What server logs show that crawlers and reports do not, how to read them step by step, and what to fix once you can see what bots really request.

A crawl tells you what a site contains. Search Console tells you what Google chose to report. Server logs tell you what bots actually requested, row by row. That makes them the most direct view of crawling, and the place to find problems nothing else shows. This article is part of the complete technical SEO guide.
What a log line contains
An access log has one line per request. The useful fields are the time, the requested URL, the status code returned, the response size or time, the referrer and the user agent (who asked). Add the IP address to verify who the visitor really was.
Get the logs
- From the web server or hosting panel (access logs, usually a few weeks).
- From the CDN or edge. Many CDNs keep logs or can stream them to storage, sometimes only on certain plans.
- For a static or edge-hosted site, from the platform’s analytics or log export if it has one.
Ask for at least a few weeks, so one quiet or busy day does not mislead you.
Read them in this order
- Isolate the bots. Filter by user agent for Googlebot, Bingbot and the AI crawlers you care about, such as GPTBot, ClaudeBot and PerplexityBot. Then verify the ones that matter, because user agents can be faked.
- Look at status codes. What share of requests get 200, 3xx, 404 and 5xx? Many redirects and errors mean crawl effort is wasted. The redirect chains entry explains why they waste crawl effort.
- Group by section. Compare where bots spend requests with where your valuable pages are. If most requests go to filters, search pages or old URLs, the site is wasting crawl. The crawl budget entry explains the idea.
- List the URLs that waste crawl. Parameters, sort orders, session IDs, calendars and endless pagination show up quickly.
- Find the pages bots miss. Compare the sitemap with the requested URLs. Pages that are listed but rarely or never requested usually have weak internal links.
- Check the rhythm. How often are your important pages requested? New content that bots visit within days is healthy. Pages not visited for long stretches may be too deep or too weakly linked.
Verify Googlebot properly
Google’s guide to verifying Google crawlers separates three kinds:
- Common crawlers, such as Googlebot, respect robots.txt for automatic crawls. Their reverse DNS names end in
googlebot.com. - Special-case crawlers, such as AdsBot, serve specific products and may or may not respect robots.txt.
- User-triggered fetchers run when a person starts a fetch, such as a site verification, and ignore robots.txt.
Two ways to verify a request:
- Reverse DNS. Look up the IP, check the name ends in
googlebot.com,google.comorgoogleusercontent.com, then run a forward lookup on that name and confirm it returns the same IP. - IP ranges. Match the IP against Google’s published lists, such as
common-crawlers.jsonandspecial-crawlers.json.
Spammers can claim to be Google in the user agent, so verify before you trust a row.
What you can fix once you see it
| What the logs show | Likely fix |
|---|---|
| Heavy crawling of filter or parameter URLs | Block or canonicalize them, reduce links to them |
| Many requests to redirecting URLs | Update internal links, flatten chains |
| 404s requested often | Restore, redirect or stop linking to them |
| Important pages rarely requested | Add internal links, shorten the path, add to the sitemap |
| Bots blocked or served errors | Check robots.txt, firewall and rate limits |
| AI crawlers absent or blocked | Decide on purpose whether they should reach your content |
Tools
You do not need a specialist product to start. A spreadsheet or a few command-line filters can count requests by bot, status and folder. Dedicated log analyzers help on large files.
When to use it
Use logs when a site is large, when pages are not being indexed and the technical checks pass, after a migration, or when you want to see how AI crawlers behave on your pages. For most small sites, Search Console is enough.
This is exactly what my technical SEO audit support covers; contact me to talk it through.
FAQ
Do small sites need log analysis?
Usually not. For a small, well-linked site, Search Console crawl stats are enough. Logs pay off on large sites, on sites with crawl or indexing problems and when you need to see AI crawler behavior.
How do I know a request really came from Googlebot?
The user agent string can be faked. Google documents how to verify Googlebot with a reverse DNS lookup or its published IP ranges. Verify before drawing conclusions.
Do logs contain personal data?
Access logs usually contain IP addresses, which can be personal data. Keep them secure, share only the bot rows you need and follow your privacy policy.
Sources
- Verify requests from Google crawlers and fetchers · Google Search Central
- Google crawlers overview · Google Search Central
- Crawl budget management for large sites · Google Search Central
- How HTTP status codes affect Google crawlers · Google Search Central
Keep reading
- Technical SEO audit or monthly SEO: which do you need first?How to choose between a one-time technical audit and ongoing monthly SEO, and why an audit usually comes first.
- Core Web Vitals: what to fix firstHow to read the three metrics, where the thresholds are, and an order of work that fixes templates instead of chasing single pages.
- Internal linking and site structureHow to organize a site so important pages are easy to reach, and how to add internal links that help both visitors and search engines.
Want this applied to your site?
Tell me about your site and I’ll suggest the next step.
Work with me Services