Customers & growth · SEO & search marketing

Log file analysis framework

Best for Growth to Scale

CRAWL HITSERRORSFREQUENCYFIXES

Use it when

Your site has many thousands of URLs and you need to see which pages Googlebot actually requests, how often, and what responses it gets.

Skip it when

  • Pages are missing from Google and you have not checked the page indexing and crawl stats reports yet. Run Crawlability & indexation framework first.
  • Your site is small and new pages are crawled the day you publish them. The crawl stats report in Crawlability & indexation framework covers what you need.
  • Content loaded by JavaScript is missing from what Google renders. Use JavaScript SEO framework.
  • You need a full health check that also covers speed, mobile and security. Use Technical SEO audit framework.

What to apply first and what to use instead are listed below.

Inputs

  • Access logs
    Raw server access logs for at least the last 30 days, with timestamp, IP address, user agent, requested URL and status code, from every origin server, load balancer and CDN.
  • Google crawler IP ranges
    Google's published IP range files for its crawlers, downloaded on the day you run the analysis.
  • Site crawl
    Every URL a crawler finds, with status code, indexability, canonical, click depth and internal links in, from a crawl run the same week.
  • Sitemaps and key URL list
    Every submitted XML sitemap and the pages that must be crawled, such as products, categories and top articles.
  • Organic clicks by URL
    Clicks per page for the last 90 days, from Search Console.
  • Crawl statsOptional
    Total crawl requests and host status for the last 90 days, from Search Console, to check the logs are complete.

Steps

  1. Collect the access logs from every server layer for one window, merge them into one table, and plan to drop or mask IP addresses once bots are verified.
  2. Filter requests whose user agent claims to be Googlebot, and keep only those whose IP falls in Google's published ranges or passes a reverse and forward DNS check.
  3. Group verified requests by status code, file type and site directory, and set each directory's share of requests beside its share of organic clicks and key URLs.
  4. Join the log URLs with the site crawl and sitemaps, and list orphan URLs that are crawled with no internal links, key URLs with no request in the window, and URLs crawled often that are non-indexable, redirected or broken.
  5. Write one fix per pattern, such as blocking sort and filter URLs in robots.txt, consolidating duplicates, returning 404 or 410 for removed pages, shortening redirect chains or linking orphan pages that should rank.
  6. Rerun the same queries on fresh logs after the fixes ship, and record the change for each pattern.

Output

A crawl activity report for one log window with a fix list, with the window, the bots counted and the verification method written above it.

  • Directory or URL pattern
  • Verified Googlebot requests and share of total
  • Status code mix
  • Share of organic clicks and key URLs
  • Issue (orphan, key URL not crawled, wasted crawling, error)
  • Fix
  • Owner
  • Requests after the fix

Done when

  • Every request counted as Googlebot passed the IP range or DNS check.
  • Logs from every server layer in the request path cover the same window.
  • Every directory shows its request share, status code mix and organic click share.
  • Every key URL with no verified request in the window is listed with a likely cause.
  • Each issue has a fix and an owner.

Measure

Rerun the analysis on a matching window of fresh logs four to eight weeks after the fixes ship. Track verified Googlebot requests to key directories, the share of requests spent on non-indexable, redirected or broken URLs, and days from publishing to first request for new pages. It worked when the wasted share falls and key pages are requested sooner and more often than in your own earlier window.

Hypothetical example

Brightwell Outdoors, a retailer with 400,000 URLs, pulled 30 days of logs from its origin servers and CDN. Of 1.2 million requests claiming to be Googlebot, 1.05 million passed the IP range check. Sort and filter URLs took 38 percent of verified requests and earned no organic clicks. Another 2,300 product pages had no request at all, most of them four or more clicks from the homepage. The team blocked sort parameters in robots.txt, returned 410 for 6,000 discontinued products and linked new products from category pages. Six weeks later, sort and filter URLs took 9 percent of requests, and 1,900 of the missed product pages had been crawled.

Common mistakes

  • Trusting the user agent string. Anyone can claim to be Googlebot, so verify each IP against Google's ranges or by DNS.
  • Reading origin server logs alone when a CDN answers most requests. Collect logs from every layer in the path.
  • Adding noindex to stop wasted crawling. Google still requests the page, so block it in robots.txt or consolidate it.
  • Treating every rarely crawled page as a fault. Pages that seldom change need few visits, so focus on key and new pages.
  • Keeping raw IP addresses after the analysis. They are personal data, so drop or mask them once bots are verified.

Sources

Show all 4 sources

By company stage

  1. Pre-IdeaNot applicableThere is no site to crawl.
  2. IdeaNot applicableA small site has too little crawl data to analyse usefully.
  3. Early StartupNot applicableCrawl issues are minor at this size and basic tools suffice.
  4. StartupUsefulGrowing page counts start to make crawl behaviour worth checking.
  5. GrowthCriticalLarge sites with many pages need crawl budget control to protect organic growth.
  6. ScaleCriticalMultiple products and huge page counts make crawl efficiency a real gap.
  7. EnterpriseUsefulSpecialist technical SEO teams run it routinely across many properties.

Apply first

  • Crawlability & indexation frameworkCustomers & growth · SEO & search marketing

    Log analysis studies crawler behaviour and crawl budget; you need those concepts to interpret logs.

Use instead

Recommended resources

No sponsored resources on this framework yet. Sponsored listings would be labelled here, never in search.

Progress is not saved until you have an account. Create a free account