We will tell you the truth.
Even when it costs us the account.
← Home / / 5 min read / Glossary

What Is Log File Analysis?

Log file analysis reads your server's raw access logs to see exactly which URLs a crawler requested, when, and what status code it received.

Log file analysis is the practice of reading your server’s raw access logs to see exactly which URLs a search engine crawler requested, when, and what status code it received. It is not a crawl simulation. A crawler tool shows you what Googlebot could reach in theory; a log file shows you what Googlebot actually did.

Why log file analysis matters

Every other technical SEO diagnostic is inference. Search Console’s Crawl Stats report aggregates. A site crawler follows links the way you hope Google does. Logs are the only first-party record of what actually happened, request by request.

That matters most when the data disagrees with your assumptions. Pages you consider important turn out to be crawled twice a year. Parameter URLs you assumed were blocked turn out to absorb most of the crawler’s attention. Redirects you retired months ago are still being requested daily. None of that is visible in a tool that models crawler behaviour rather than recording it. Before you pull a single log file, it helps to know which sections actually earn traffic, so you know where to point the analysis in the first place.

How log file analysis actually works

  1. Get the raw logs. Origin server access logs from Apache or Nginx, or CDN logs if you sit behind Cloudflare, Fastly, or Akamai. Retention is commonly 30 days. Ask for 90 if your host allows it.
  2. Verify the crawler. User-agent strings are trivially spoofed. Google publishes its crawler IP ranges as JSON files, and the documented verification method is a reverse DNS lookup resolving to googlebot.com or google.com, then a forward lookup back to the same IP.
  3. Segment by bot. Split Googlebot smartphone from Googlebot desktop, then separate AI crawlers such as GPTBot and PerplexityBot. They operate on independent allocations and behave differently.
  4. Join logs to your URL inventory. Match logged paths against your XML sitemap and a fresh crawl export. Three buckets fall out: crawled and in sitemap, crawled but not in sitemap, and in sitemap but never crawled.
  5. Group by response code and directory. Aggregate request counts per folder, then per status code, so patterns surface instead of individual lines.
  6. Compare against impressions. A directory drawing heavy crawl activity but producing no impressions is consuming resource for nothing. This is where log data connects to how crawl budget gets spent.

Reading the patterns

What you see in the logsWhat it usually means
Heavy crawl on parameter URLs, light on product pagesFaceted navigation is leaking crawl activity
Sitemap URLs with zero requests in 30 daysA discovery or internal linking problem, not an indexing one
Repeated 304 responses on unchanged pagesWorking as designed, not a fault
5xx errors rising during crawl spikesYour server is the constraint; Google will throttle itself
Requests for URLs you deleted months agoStale internal links, or external links still pointing there

The blunt version

Below roughly 10,000 URLs, log file analysis rarely tells you anything the free Crawl Stats report in Search Console did not already show. If someone quotes you for a log file audit on a 400-page brochure site, ask what they expect to find. The honest answer is usually nothing actionable.

The failure that almost nobody flags: if your site sits behind a CDN, your origin logs are incomplete by design. Anything served from cache never reaches the origin server, so the origin log records a fraction of real crawler activity. An audit run on origin logs alone will under-report crawl volume and misidentify which URLs are being hit. You need the CDN’s log export, and on many plans that is a paid add-on. Agencies sell log file audits, receive origin logs, and produce a confident report from partial data more often than the industry admits.

Then there is verification. A meaningful share of traffic self-identifying as Googlebot in raw logs is scrapers wearing the user-agent. Skip the reverse DNS step and you are not analysing Google’s behaviour, you are analysing someone else’s scraper. That single omission invalidates the whole exercise, and it is the step most commonly dropped when the analysis is done at volume. It is worth understanding how crawling and indexing work before interpreting any of it.

Example

Say a retailer with 40,000 URLs pulls 30 days of verified Googlebot requests. Most of the crawl activity lands on ?sort= and ?colour= variants of a handful of category pages, while several thousand product URLs listed in the sitemap show zero requests across the entire period. No tool reported an error, because nothing is technically broken. The products are crawlable, indexable, and simply never reached. The fix is architectural: reduce the crawlable parameter surface, consolidate variants with canonicals, and strengthen internal links into the neglected product directories. The logs did not diagnose a bug. They showed where attention was going instead.

FAQ

Does a small site need log file analysis?

Almost never. Under a few thousand URLs, the Crawl Stats report in Google Search Console covers the same ground for free. Log analysis earns its cost on large catalogs, news archives, and any site generating thousands of near-duplicate URLs through filters.

How do I confirm the Googlebot in my logs is real?

Run a reverse DNS lookup on the requesting IP and confirm it resolves to googlebot.com or google.com, then run a forward lookup on that hostname and confirm it returns the original IP. Google also publishes its crawler IP ranges as downloadable JSON.

How much log data do I need?

Thirty days is the practical minimum, because crawl patterns on deeper directories are slow to appear. Ninety days is better if your host retains it, particularly if you want to compare crawler behaviour before and after a deployment or a site structure change.

Related terms

  • Crawl trap — the specific structural fault that log analysis most often exposes.
  • Crawlability — whether a crawler can reach a page at all, which logs confirm rather than predict.
  • JavaScript rendering — why a URL can appear in your logs as fetched but still index with missing content.

If your site is behind a CDN and nobody has mentioned CDN logs, the audit you were sold is running on partial data. Ask which log source it used before you act on a single recommendation in it.

Still here

Want this run on your actual traffic drop?

Send the domain and what you have been told. You get a straight answer. Including the one where we say do not hire us.