Every request to your web server, from a visitor or a crawler, leaves one line in an access log. Log file analysis reads those lines to answer one question: what do search engine crawlers and other bots actually do on my site? You see what the crawlers did, not what a tool predicts they would do.
What one log line tells you
Most servers write access logs in the Combined Log Format. Apache documents it, and nginx uses it by default (Apache docs). A line looks like this:
66.249.66.1 - - [22/Oct/2026:08:14:03 +0000] "GET /shoes/running?color=red HTTP/1.1" 200 18342 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
From left to right: the IP address that asked, the time, the method and URL, the HTTP status code your server answered with, the size of the response, the referring page, and the user agent, the name the client gives itself. Put millions of these lines together and you can count which URLs a crawler requests, how often, and how your server responds.
Log files or the Crawl Stats report?
Start with the free option. Google Search Console has a Crawl Stats report that shows how many requests Google made, the response codes, file types and which Googlebot made them, with example URLs. It only works for root-level properties, and Google says it may not count every request, so its numbers can differ from your logs (Search Console Help).
Your own logs go further:
- They show every crawler, not just Google's: Bingbot, AI crawlers and the scrapers pretending to be Googlebot.
- They list every URL requested, not a sample, so you can join them with your sitemap or a site crawl.
- They cover what you keep. How far back you can look depends on your host's retention settings.
When log analysis is worth the effort
Google's crawl budget guide is written for large sites: roughly 1 million or more unique pages that change weekly, 10,000 or more that change daily, or sites with many URLs stuck as "Discovered – currently not indexed". For other sites Google says an up-to-date sitemap and a regular look at the Page Indexing report are enough (Google Search Central).
So a 200-page site rarely needs log analysis for SEO. It pays off when you run a big shop, a classifieds or news site, a site with faceted navigation, or when new pages take weeks to get crawled.
How to analyze your logs
- Get the files. Download access logs from your host, server or load balancer. If a CDN serves cached pages, requests it answers never reach your server, so use the CDN's logs too.
- Filter to the bots you care about. Search the user agent field for Googlebot, Bingbot or a specific AI crawler.
- Verify them. Anyone can type "Googlebot" into a user agent. Google lets you check an IP with a reverse DNS lookup (the name must end in googlebot.com, google.com or googleusercontent.com) followed by a forward lookup, or by matching its published IP lists (Google crawling docs). Bing's Verify Bingbot tool, in Bing Webmaster Tools and as a public page, checks an IP for you, and Bing publishes its Bingbot IP list (Bing Webmaster Tools help). Some AI companies publish IP lists for their crawlers too.
- Group the requests. Count hits by URL, by folder and by status code, per day.
- Compare with what you want crawled. Join the crawled URLs with your sitemap and a site crawl to see which important pages bots ignore and where they spend their time instead.
What to look for
- Crawling wasted on duplicates. Parameter URLs, sort orders and filter combinations eating most of the requests. Google says duplicate URLs waste its crawling time; consolidate them or block them in robots.txt.
- Server errors and rate limiting. When your server answers with 5xx errors or 429 (too many requests), Google lowers how much it crawls.
- Redirect chains. Each hop is a separate request, and Google advises against long chains.
- Soft 404s and dead pages. Return a real 404 or 410 for removed pages; soft 404 pages keep getting crawled.
- Important pages crawled rarely or never. Often a sign of weak internal links.
- Orphan pages. URLs bots still request that your own site crawl can't reach.
What logs can't tell you
A log shows requests, not results. A crawled page isn't necessarily indexed, and the log says nothing about rankings or why traffic changed; check the Page Indexing and Performance reports for that. AI crawlers in your logs show that a company fetched your pages, not that its assistant cites them. And treat the files with care: they contain visitors' IP addresses, so keep access to them limited.