Most SEO tools show you what is on your site or what Google says about it. Server logs show something different: what bots actually requested, when, and what your server returned. It is the only first-party record of crawler behavior, and it settles arguments that crawl data alone cannot.
This guide covers how to get logs, clean them up, and ask questions that lead to specific fixes. It does not require a data engineering team. A spreadsheet or a small script will do for most sites, though large sites will want a proper log tool.
What a log line tells you
Each line in an access log is one request. A typical line includes:
- The IP address of the client
- A timestamp
- The requested URL, including any query string
- The HTTP status code returned
- The size of the response
- The user agent string
- Often, response time, if your server is configured to record it
That is enough to answer a surprising number of questions. You can see which URLs bots fetch, how often they return, what status codes they receive, and how slowly your server responds to them.
Getting the logs
Where logs live depends on your setup. Check these places:
- Your web server (Apache, Nginx, IIS), usually in a logs directory.
- Your hosting control panel, which may offer downloads or a limited retention window.
- Your CDN. If a CDN serves cached pages, your origin server may never see those requests. CDN logs are often the more complete record.
Ask for at least 30 days if you can. A few days of data can mislead you, because Googlebot's attention to a section can swing from week to week. Also check that logs include the query string and the user agent. Some default configurations drop fields you will need.
Verify that the bot is really Googlebot
Anyone can put "Googlebot" in a user agent string, and scrapers do. Before analyzing, confirm genuine requests. Google documents two methods: a reverse DNS lookup on the IP followed by a forward lookup to confirm it resolves back to the same address, or matching the IP against the ranges Google publishes. For large log sets, matching against the published ranges is the practical choice.
Skip this step and your analysis may include fake traffic that inflates crawl counts and hides the real pattern.
Prepare the data
Raw logs are noisy. Before you draw conclusions:
- Filter to verified search bots. Keep Googlebot and Bingbot separate. If you care about AI crawlers such as GPTBot, OAI-SearchBot, ClaudeBot or PerplexityBot, tag them as their own group.
- Split Googlebot by type. Smartphone, desktop, image and other Google crawlers behave differently. Since Google uses mobile-first indexing, the smartphone crawler is usually the one to watch.
- Remove non-page requests such as CSS, JavaScript and image files, or analyze them as a separate group. They matter for rendering but muddy page-level counts.
- Group URLs by template or directory. Looking at individual URLs is rarely useful at first. Looking at
/blog/,/products/, and parameterized URLs as groups is.
Seven questions worth asking
1. Where is crawl attention going?
Count Googlebot requests per site section and compare that to the sections you care about. If your highest-margin category gets a small share of requests while a tag archive or internal search section gets a large one, that mismatch is your first finding.
2. What status codes is Googlebot receiving?
Break down the share of 200, 301, 302, 404, 410 and 5xx responses. A healthy site sends most bot requests to 200 pages. If a large share goes to redirects, you likely have old internal links or sitemap entries pointing at URLs that no longer resolve directly. If you see 404s at volume, find the source: internal links, old sitemaps, or external backlinks.
3. Are parameter and duplicate URLs eating requests?
Filter for URLs containing a question mark and count them. Sorting, session, tracking and filter parameters can generate a huge number of crawlable variations. If Googlebot spends a big part of its visits there, you have a crawl control problem to fix with internal linking changes, canonical tags or robots.txt rules, depending on the case.
4. Which important pages are never crawled?
Take your list of indexable URLs from a site crawl and check each against the logs. Pages in your site structure that Googlebot never requested in 30 days deserve attention. Usual causes are weak internal linking, excessive click depth, or a missing sitemap entry.
5. Which crawled URLs are not in your site structure?
The reverse check is just as useful. URLs that Googlebot requests but your crawler never found are often orphan pages, old URLs still referenced externally, or leftovers from a past site version. Decide for each group whether it should be linked, redirected or removed.
6. Does crawl frequency match update frequency?
If you publish or update a section daily and Googlebot visits it monthly, new content will be slow to appear. If a page that has not changed in two years is fetched every day, that is not harmful, but it tells you where attention goes. Compare last-modified dates with crawl dates for your key templates.
7. How is your server responding?
Look at response times and 5xx errors by hour and by day. Google has stated that it slows its crawl rate when a server returns errors or responds slowly. A spike in 503 responses during a nightly job or a traffic peak can reduce crawling for days. If your logs include response time, check which templates are slowest for bots.
Combine logs with a site crawl
Logs alone tell you what bots did. A site crawl tells you what exists and how it is configured. The useful findings come from joining the two on URL. We run a full audit in SearchAuditPro to get the list of pages, status codes, canonicals, indexability and click depth, then compare that against the log export. Any crawler that exports URL-level data will work for this.
The join produces four groups:
- In the crawl and in the logs: normal. Check frequency against importance.
- In the crawl, not in the logs: pages Google is ignoring. Look at depth and internal links.
- In the logs, not in the crawl: pages you may have forgotten about. Check status codes and decide what to do.
- Neither: not relevant to this analysis.
An example of how it plays out
Imagine a store with 20,000 indexable product pages. The logs show that about half of Googlebot requests go to URLs with filter parameters, while a third of the product pages were not requested at all in a month. The fix is not a single change. It is a sequence: stop linking to filter combinations that have no search value, make sure the canonical tags on the remaining ones are consistent, add links to the neglected products from category pages, and recheck the logs a few weeks later. The numbers here are an illustration, not a benchmark.
Common mistakes
- Treating crawl as indexing. A page can be crawled often and still not be indexed. Logs show requests, not outcomes. Pair them with Search Console data.
- Worrying about crawl budget on a small site. Google has said crawl budget is mainly a concern for very large sites or those with many rapidly changing URLs. On a site of a few hundred pages, logs are still useful for finding errors, but not for budget tuning.
- Using too short a window. One week of data can show a pattern that disappears the next.
- Skipping the CDN. Missing cached requests means undercounting.
- Acting on every finding. Prioritize by what the affected pages are worth to the business.
A lighter option: the Crawl Stats report
If you cannot get logs, Google Search Console's Crawl Stats report gives totals by response code, file type, purpose (discovery or refresh) and average response time. It is sampled and aggregated, so it will not give you URL-level detail, but it can confirm whether a problem is worth chasing.
How often to repeat it
Run a full analysis after a migration, a major template change or a large content launch, and otherwise once a quarter. For large or frequently changing sites, a monthly check on status codes and parameter URLs is worth the time. Keep a simple record of the shares you measured, so next time you can see whether your fixes moved attention where you wanted it.
Logs take some effort to set up, but once the pipeline exists, each review is quick. They show what Google does with your site, not what we assume it does, and that is a better starting point for most technical decisions.
