Server log files: what Googlebot really does on your site, and when log analysis is worth it
TL;DR
Difficulty: Advanced
Your access log records every request to your site, so it shows what Googlebot actually did, while Search Console shows what Google decided.
- Verify every bot first: reverse and forward DNS lookup, or Google's published IP ranges. User agents are faked.
- Group verified Googlebot requests by section and status code to find crawl waste, redirect chains, errors, orphan pages and how long new pages wait.
- Logs also show AI crawlers and other bots that no Search Console report shows.
- IP addresses are personal data: keep logs briefly, extract only crawler lines for SEO.
- Worth it for large sites, shops with filters, relaunches and indexing puzzles. For a small site that is crawled fine, the Crawl Stats report is enough.
Search Console tells you which pages Google indexed. It does not tell you where Googlebot actually spent its visits, which answers your server gave, or which other bots read your site. Your server's access log does. Here is how to read it, how to tell real Googlebot from impostors, what one month of an online shop's logs revealed, what the law says about the IP addresses inside, and when the whole exercise is worth your time.
Search Console tells you what Google decided. Your logs tell you what Google did.
Google Search Console is a summary written by Google about your site. It tells you which pages are indexed, which are not, and roughly how often Google came by. What it does not show you is the raw visit itself: this URL, at this second, by this crawler, with this answer from your server. That record lives in one place only, your server's access log.
Google says as much. In a December 2024 post on how Googlebot crawls, two of Google's own search engineers called a site's raw access logs "the best source" to see what Google is crawling, and the Crawl Stats report in Search Console the "second best"1. For search engine optimisation (SEO), that difference is the whole point. This chapter is about that best source: what a log line contains, how to tell a real Googlebot from an impostor, what the logs reveal that nothing else does, which tools do the work, what the law says about the IP addresses inside them, and, just as important, when the whole exercise is not worth your time.
This is an advanced chapter, but you do not need to be a developer to follow it. If you have read the earlier chapters on how search engines crawl, render and index a website and on Search Console, you have everything you need.
Example: Aoife runs Barrow Outdoor (barrowoutdoor.example), an online shop in Kilkenny for garden and outdoor furniture, the example shop of this series. It has 1,850 products in 14 categories and filters for material, colour, size, seats and price. Search Console shows 4,100 pages indexed, 31,000 "Crawled, currently not indexed" and 52,000 "Discovered, currently not indexed". Aoife's question is a fair one: Google is clearly busy on her site, so why are so few of her real pages in the index? Search Console tells her the outcome. Only the logs can tell her where Google's effort actually went. The rest of this chapter answers her question step by step.
What a server access log is
Every time anything requests a file from your website, a browser, Googlebot, a scraper, a monitoring tool, the web server writes one line to a text file called the access log. One request, one line. A page view by a person usually produces dozens of lines, because the page pulls in images, stylesheets and scripts, and each of those is a request too.
The two most common web servers, Apache and nginx, both ship with a standard layout for these lines called the combined log format. Apache documents it field by field2, and nginx defines a format of the same name with the same fields3. Here is one line in that format, as it might appear in Barrow Outdoor's log:
66.249.66.1 - - [14/May/2025:06:25:13 +0100] "GET /garden-furniture/dining-sets?material=teak&colour=grey&seats=6 HTTP/1.1" 200 48211 "-" "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.7103.92 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
It looks like noise. It is in fact a complete little record, and every part of it has a meaning.
| Part of the line | Value in the example | What it means |
|---|---|---|
| Client address | 66.249.66.1 | The internet protocol (IP) address that made the request |
| Identity and user | - - | Almost always empty on a public website |
| Time | [14/May/2025:06:25:13 +0100] | When the request arrived, with the time zone offset |
| Request line | GET /garden-furniture/dining-sets?material=teak&colour=grey&seats=6 HTTP/1.1 | The method, the exact URL path with its parameters, and the protocol |
| Status code | 200 | The answer your server gave: 200 is "here it is" |
| Size | 48211 | Bytes sent in the response body |
| Referrer | "-" | The page that linked here, if the client says so. Crawlers usually send none |
| User agent | Mozilla/5.0 ... Googlebot/2.1 ... | What the client says it is |
Two warnings from the Apache documentation are worth knowing before you go further. First, the referrer and the user agent are written by the client, not by your server, so they can say anything2. Second, if your site sits behind a proxy or a load balancer, the client address can be the proxy's address rather than the visitor's, unless the server is configured to log the original one2. Both points come back later.
Example: read the line above as Aoife would. At 6.25am on 14 May, something calling itself the smartphone version of Googlebot asked for the dining sets category filtered to grey teak sets for six people. The server answered 200 and sent 48 kilobytes. Nobody linked to it from outside (no referrer). One line, and Aoife already knows something Search Console never told her: Googlebot is spending requests on a three filter combination that has no business being in the index.
Where to get your logs
The log lives on the server that answers the request. Where that is decides how easy this step is.
- On your own server or a virtual server, the logs are files, typically in a directory such as
/var/log/nginx/or/var/log/apache2/. Servers rotate them, which means they start a new file every day or week and compress or delete the old ones. Apache notes that logs grow by roughly 1MB per 10,000 requests on a moderately busy server, so rotation is set up from the start2. - On shared or managed hosting, the control panel usually has a "raw access logs" download. If it only offers a statistics page, ask the host for the raw files.
- Behind a content delivery network (CDN), many requests never reach your server because the CDN answers them from its cache. Your server's log then misses those hits, and you need the CDN's own logs as well.
- On a hosted shop platform you may get no raw logs at all. Ask your provider before you plan anything.
- On a Ruby on Rails application, such as a Solidus shop, the application's own log is not the access log. The access log comes from the web server or proxy in front of it, which is the file you want.
Thirty days is the right amount for a first analysis: long enough to see patterns, short enough to handle on a laptop.
Example: Barrow Outdoor runs on a virtual server with nginx in front of the shop software. Aoife's developer copies the rotated access logs for May 2025, the peak month, into one folder: 31 compressed files with about 6.2 million lines in total. Using Apache's rule of thumb of 1MB per 10,000 requests, that is about 620MB of plain text, which a normal laptop handles without complaint. Aoife also checks that the CDN in front of her images is not caching HTML pages. It is not, so the server log holds every page request. His developer added the request time to the log format when the server was set up, so each line also records how long the response took.
Is it really Googlebot? Verify before you count
Anyone can write "Googlebot" into a user agent. Scrapers do it to avoid being blocked, because site owners rarely block Google. Google's own documentation says the user agent is "often spoofed by other crawlers" and tells you to verify a request before you trust it4. If you skip this step, every number that follows is polluted.
Google documents two ways to verify5.
Method one, a reverse and forward lookup in the domain name system (DNS). You ask DNS which name belongs to the IP address, check the name ends in googlebot.com, google.com or googleusercontent.com, then ask DNS which IP address belongs to that name and check you get the same address back. The second lookup matters: anyone who controls an IP range can set its reverse name to something that looks like Google, but they cannot make Google's own DNS point back to them.
# Step 1: reverse lookup. Which name belongs to this IP address?
host 66.249.66.1
# 1.66.249.66.in-addr.arpa domain name pointer crawl-66-249-66-1.googlebot.com.
# Step 2: forward lookup. Does that name point back to the same address?
host crawl-66-249-66-1.googlebot.com
# crawl-66-249-66-1.googlebot.com has address 66.249.66.1
# Same address in both directions, and a googlebot.com name: verified.
Method two, Google's published IP ranges. Google publishes the address ranges of its crawlers as JSON files, one for Googlebot and others for its special purpose crawlers and for fetches triggered by users5. For a big log this is faster than thousands of DNS lookups: you load the list once and check every address against it.
# verify_googlebot.py: mark each address as inside or outside Googlebot's published ranges.
import ipaddress, json, sys, urllib.request
URL = "https://developers.google.com/static/search/apis/ipranges/googlebot.json"
data = json.load(urllib.request.urlopen(URL))
networks = [ipaddress.ip_network(p.get("ipv4Prefix") or p.get("ipv6Prefix"))
for p in data["prefixes"]]
for line in sys.stdin: # one IP address per line
ip = ipaddress.ip_address(line.strip())
verified = any(ip in net for net in networks)
print(ip, "verified" if verified else "NOT Googlebot")
Bing works the same way. Its webmaster team explains that a genuine Bingbot address resolves to a name ending in search.msn.com, and that the forward lookup must lead back to the same address6.
Example: of the 6.2 million lines in Barrow Outdoor's May log, 486,000 requests carry a Googlebot user agent. Aoife's developer extracts the distinct addresses and runs them through the script. 452,000 requests come from addresses inside Google's ranges. 34,000, about 7%, come from 41 addresses that are not Google's at all: two hosting companies and a residential network. Those 34,000 are scrapers wearing a Googlebot costume. They go into a separate pile for the security conversation, and from here on every Googlebot figure means the verified 452,000 only.
The light version: the Crawl Stats report
Before you dig into raw files, know what Google already gives you. The Crawl Stats report sits under Settings in Search Console. Google's help page describes it as a report for advanced users and lists what it shows: total crawl requests, total download size, average response time, and breakdowns by response code, file type, crawl purpose (discovery of new URLs or refresh of known ones) and Googlebot type. It also shows host status, meaning whether Google had trouble fetching your robots.txt, resolving your DNS or connecting to your server7.
It has limits, and Google states them. The report only exists for properties at the root of a domain. Its example URLs are a sample, not a list. Each redirect hop counts as a separate request. And Google says its counts can differ slightly from your server logs7.
| Question | Page indexing report | Crawl Stats report | Access logs |
|---|---|---|---|
| Is this page in the index? | Yes | No | No |
| How many requests did Google make? | No | Yes, totals | Yes, every one |
| Which exact URLs did Google request? | Samples | Samples | All of them |
| Which status code did each URL get? | Partly | Grouped, with samples | Every request |
| Was it really Google? | Yes | Yes | Only after you verify |
| What did other bots and AI crawlers do? | No | No | Yes |
| How fast was a new page first visited? | No | No | Yes |
Example: Aoife's Crawl Stats report for May shows a little under 14,000 crawl requests a day, about 430,000 for the month, with 62% for refresh and 38% for discovery, and "Smartphone" as the dominant Googlebot type. That is close to the 452,000 verified requests in her log, which is reassuring: the two sources agree on the size. But the report's example URLs are a handful of filter pages, and it cannot tell Aoife what share of the 430,000 went to filters, which is the one number she needs. That is why she opens the logs.
Where Googlebot's attention really goes
The first and most valuable thing logs show is distribution: of all the requests Googlebot made, how many went to the pages you care about?
Google is clear that the crawling capacity it gives a site is limited. Its guide for large sites explains crawl budget, the number of URLs Google can and wants to crawl, and says the guide matters mainly for sites with more than about a million pages, sites with more than about 10,000 pages that change daily, and sites with a large share of URLs stuck in "Discovered, currently not indexed"8. That last group is the important one for a shop, because a small catalogue can still produce an enormous number of URLs. Google's Gary Illyes wrote in December 2024 that faceted navigation, the filters on a shop's category pages, is "by far the most common source" of overcrawl problems that site owners report to Google9.
To see your own distribution, group every verified Googlebot request for a page by the section of the site it belongs to: product pages, category pages, filter and parameter URLs, guides, old URLs and errors. Count, then divide.
Here is the share of crawl activity spent on URLs that should not be crawled or indexed, is the number of verified Googlebot page requests to those URLs, and is the total number of verified Googlebot page requests. It is a plain ratio, explained in Foundations: ratios and rates.
Example: of the 452,000 verified Googlebot requests in May, 64,000 are for resources such as scripts, stylesheets, images and the shop's filter data endpoint. The other 388,000 are page requests. Grouped by section:
| Section | Verified Googlebot page requests | Share |
|---|---|---|
| Filter and parameter URLs | 269,000 | 69.3% |
| Product pages | 54,000 | 13.9% |
| Category pages, including page 2 and beyond | 21,000 | 5.4% |
| Guides and service pages | 6,000 | 1.5% |
| Old URLs, redirects and errors | 38,000 | 9.8% |
| Total | 388,000 | 100% |
The filter URLs and the old URLs are the waste: 269,000 plus 38,000 is 307,000 requests.
So . Put plainly, 79.1% of Googlebot's page requests went to URLs Aoife does not want in the index. Only 81,000 requests, 20.9%, reached products, categories and guides. Behind those 269,000 filter requests sit about 195,700 distinct filter URLs, each visited once or twice. That matches the 210,000 distinct URLs crawled in the month: Googlebot spends its visits spread thinly over an almost endless supply of combinations, while the 1,850 products wait.
How to fix the filter problem is a chapter of its own: faceted navigation, filters and pagination. The logs' job is to prove the problem and measure the fix.
The status codes your server gives to bots
The second thing logs show is what your server answered. Google documents how it treats each family of status codes10:
- 2xx (success): the content goes on to processing. It may be indexed, though that is never guaranteed.
- 3xx (redirects): Googlebot follows up to 10 hops. A
301or308is a strong signal that the target is the page to keep, a302or307a weak one. - 4xx (client errors): the URL is dropped from the index. For
404and410, Google gradually crawls the URL less often. A429is the exception: Google treats it as a sign of an overloaded server. - 5xx (server errors): Google slows down crawling in proportion to the errors, and if they persist, indexed URLs are eventually dropped.
Google also describes the soft 404: a page that answers 200 but is really an error or an empty page10. In a log it looks perfectly healthy, which is why you compare the size of each response too. A category page that normally weighs 48 kilobytes and suddenly weighs 3 is worth opening.
Search Console shows status codes in the Crawl Stats report, but grouped and sampled. The log tells you exactly which URLs got which answer, how often, and when.
Example: here are the status codes behind Barrow Outdoor's 388,000 verified page requests in May.
At first sight 89.4% success looks healthy. Read the rows behind the bars and four separate problems appear.
- The 4,500 server errors all hit filter URLs with three or more parameters, mostly between 7pm and 10pm. Those pages run slow database queries. The average response time for filter pages is 1,900 milliseconds against 420 for product pages. Google slows crawling when it meets server errors10, so the useless filter pages are actively making Google more careful with the whole site.
- The 12,500 not found responses go to 3,900 product URLs deleted when items were discontinued. Google crawls a 404 less and less over time10, so this is not urgent, but 210 of those URLs still have links from Aoife's own guides.
- The 6,000 temporary redirects come from "add to wishlist" links on every product, which send anyone not logged in to the login page with a
302. Every product page hands Googlebot a pointless link. - The 18,000 permanent redirects go to 8,400 old URLs from a URL change years ago. A good few of them, 2,100, are chains: the old URL redirects to an intermediate URL, which redirects again. Google's large site guide says long redirect chains harm crawling8.
Redirects, old URLs and what a relaunch leaves behind
Old URLs live on in Google's memory long after you have forgotten them. Google keeps requesting URLs it once knew, especially if any link, sitemap or redirect still points at them. The log is the only place where you see which old URLs Google still asks for, and what it gets.
This matters most around a relaunch. The chapter on relaunching a website without losing search traffic builds a redirect map before launch. Logs are how you check it afterwards: every request that ends in a 404 for a URL that used to rank is a hole in the map, and every chain is a redirect that should point straight at its final target.
Example: Aoife's developer pulls every verified Googlebot request with status 301 and follows each redirect to its end. Of the 8,400 redirected URLs, 6,300 lead straight to a live page in one hop. 2,100 need two or three hops, because when the category names changed last year, the developer redirected the new names but left the old redirects pointing at the old names. Fixing that means rewriting 2,100 rules so each points directly at its final URL. It is an afternoon's work, and the log will show in June whether the chains are gone.
Orphan pages and pages Google never visits
An orphan page is a page that exists, perhaps in your sitemap or your database, but that no crawlable link on your site points to. Search engines find pages mainly by following links, as the first chapter explains, so an orphan is hard to find and easily treated as unimportant.
Logs find orphans and their close relatives, pages that are linked but never visited, by comparing three lists:
- The list of URLs you want indexed, from your sitemap or the shop's database.
- The list of URLs a site crawler reaches by following links from the homepage. Tools such as Screaming Frog's SEO Spider do this.
- The list of URLs verified Googlebot requested in the month, from the log.
A URL on list one but not on list two is an orphan. A URL on lists one and two but not on list three is linked, yet Google is not coming. Both are worth a look.
Here is the crawl coverage of your useful pages, is the number of useful URLs that received at least one verified Googlebot request in the month, and is the number of useful URLs you want indexed. Again a simple ratio, as in Foundations: ratios and rates.
Example: Barrow Outdoor has about 2,600 useful URLs: 1,850 product pages, 100 category and subcategory pages, 450 category pages 2 and beyond, and 200 guides and service pages. In May, 1,980 of them received at least one verified Googlebot request.
So . Almost a quarter of the pages Aoife actually sells from, 620 URLs, got no visit from Googlebot in a whole month, while 195,700 filter URLs did. The comparison of the three lists explains the 620:
| Group | URLs | Why Googlebot did not come |
|---|---|---|
| Products deep in category pagination | 340 | Only reachable from page 6 and beyond of large categories |
| Products only reachable through the new filter | 140 | The filter builds its links with JavaScript after the page loads |
| Orphan products | 60 | A seasonal category was removed from the menu, so its products are linked from nowhere |
| Guides | 80 | Linked only from an old blog index that is itself rarely crawled |
| Total | 620 |
The second group ties straight back to the chapter on JavaScript SEO: the log shows Googlebot fetching the filter's data endpoint 22,000 times in May, but not following the product links it produces.
How fast Google finds a new page
When you publish a new product, how long until Googlebot first requests it? No report in Search Console answers that across many pages. The log does, if you know when each page went live: the first verified Googlebot request for the URL minus the publication date is that page's time to first crawl.
For a group of pages, use the median, the middle value when you sort them, rather than the average. The reason is practical: some pages are never crawled in the period at all. You cannot add "never" into an average, but for a median you can simply count them as longer than every other value, and as long as fewer than half are missing, the median is still exact.
Here is the median time to first crawl, is the time to first crawl of page , is the day page went live, is the day of its first verified Googlebot request, and is the number of new pages. The median is explained in Foundations: median and mode.
Example: Aoife added 64 new products in May. By 31 May, 46 had been requested by verified Googlebot and 18 had not been requested at all. Sorted from fastest to slowest, with the 18 uncrawled ones at the end as "longer than anything", the median of 64 values is the average of the 32nd and 33rd. Both are among the crawled pages, and both are 9 days. So the median new product waited 9 days for its first visit, and more than a quarter waited longer than the month. In peak season, a garden bench that is invisible for nine days misses a good part of its selling window. For comparison, Google's own large site guide says that if your pages are usually crawled on the day they are published, you probably do not need to worry about crawl budget at all8.
Resources and response times
Googlebot does not only request pages. To render a page the way a browser does, Google's Web Rendering Service (WRS) fetches the scripts, stylesheets and images the page refers to. Google explains that these fetches use the crawl budget of the host that serves them, that the rendering service caches resources for up to 30 days, and that changing resource URLs needlessly, for example with a new cache busting parameter on every deploy, makes Google fetch them again1.
A combined format log does not record how long each response took. nginx can log the processing time of every request if you add its $request_time variable to the log format3. It is a one line change and worth making before your first analysis, because slow responses and server errors are what make Google crawl more carefully10.
Example: of the 64,000 resource requests in May, 22,000 go to the filter's data endpoint, 19,000 to images, 14,000 to scripts and 9,000 to stylesheets. Aoife's theme adds a new version parameter to every script and stylesheet on each deploy, and the shop deployed 11 times in May. Each deploy shows up in the log as a burst of fresh script and stylesheet requests from Googlebot. Versioning only the files that actually changed would cut that, and the log will show it.
AI crawlers and the other bots in your logs
Googlebot is one visitor among many. Your log also records Bingbot, crawlers from companies building artificial intelligence (AI) models and AI search, archive projects and SEO tools. Search Console shows none of them. If you want to know who reads your site, the log is the only source.
At the time of writing, these are the main crawlers you are likely to see, with what their operators say they are for:
| User agent token | Operator | Purpose, in the operator's words or the source's | Follows robots.txt |
|---|---|---|---|
Googlebot | Crawling for Google Search4 | Yes | |
bingbot | Microsoft | Crawling for Bing6 | Yes |
GPTBot | OpenAI | Content that may be used to train OpenAI's models11 | Yes |
OAI-SearchBot | OpenAI | Showing websites in ChatGPT's search features11 | Yes |
ChatGPT-User | OpenAI | Visits triggered by a person's request in ChatGPT, not automatic crawling11 | May not apply, as a user asked |
PerplexityBot | Perplexity | Showing and linking websites in Perplexity's search results12 | Yes |
Perplexity-User | Perplexity | Fetching a page when a user asks a question12 | Generally not, as a user asked |
CCBot | Common Crawl | An open web archive used widely by researchers13 | Rules to block it are documented |
ClaudeBot | Anthropic | Anthropic's crawler, among the most active AI crawlers Cloudflare measured in 202414 |
Three points about this table matter more than the names.
First, some controls never appear in a log. Google-Extended is a token you can use in robots.txt to tell Google whether your content may be used for its generative AI models, but Google says crawling is done with its existing user agents15. You will never see a request from Google-Extended, so you cannot measure it in a log, only set it.
Second, the user triggered fetchers are a different kind of visit. A request from ChatGPT-User or Perplexity-User usually means a person asked an assistant a question and the assistant opened your page to answer it. Their operators say robots.txt may not apply to them, because a person initiated the fetch1112.
Third, names can be faked, exactly like Googlebot. OpenAI and Perplexity publish their crawler IP ranges1112, Common Crawl publishes its ranges and a reverse DNS pattern13, and you verify them the same way. In August 2025 Cloudflare reported that it had seen Perplexity use undeclared crawlers with a generic browser user agent after its declared bots were blocked16. That is Cloudflare's finding, not something I have tested, but it shows the limit of any analysis that trusts the user agent: a bot that does not say what it is simply looks like a visitor.
Example: here are the main bots in Barrow Outdoor's May log by number of requests, after verification where the operator publishes ranges.
Two things stand out. AI training crawlers made about 111,000 requests between them, a quarter of Googlebot's volume, and most of those went into the same filter combinations. And ChatGPT-User made 900 requests and Perplexity-User 300, almost all to guides and product pages: those are people asking assistants about garden furniture and the assistants reading Aoife's pages. Whether to allow or block any of these crawlers is a business decision with trade offs of its own. The log's job is to show Aoife what is happening, so the decision is made on facts.
The tools, from free to paid
You do not need expensive software for a first look. Three approaches cover almost every case.
A dedicated log analyser. Screaming Frog's SEO Log File Analyser is a desktop tool built for exactly this job. You load log files, it groups requests by bot, URL, status code and directory, and it can import a crawl or a URL list so you can see which pages are crawled and which are not. The free version handles 1,000 log events in a single project, enough to learn the tool but not for a month of a real shop. The paid licence lifts those limits and adds automatic verification of search engine bots17. Other crawling tools and log platforms offer similar analysis.
The command line. On a Mac or Linux machine, grep, awk, sort and uniq answer most questions in seconds, even on hundreds of megabytes. The field numbers below assume the combined log format shown earlier.
# Keep only requests whose user agent claims to be Googlebot (verify these next!)
gunzip -c access.log*.gz | grep 'Googlebot' > googlebot-claimed.log
# The distinct IP addresses that claim to be Googlebot, to feed into verify_googlebot.py
awk '{print $1}' googlebot-claimed.log | sort -u > claimed-ips.txt
# Keep the verified addresses, then only the lines that come from them
python3 verify_googlebot.py < claimed-ips.txt | awk '$2 == "verified" {print $1}' > verified-ips.txt
awk 'NR == FNR {ok[$1] = 1; next} ($1 in ok)' verified-ips.txt googlebot-claimed.log > googlebot-verified.log
# Status codes served, most frequent first ($9 is the status field)
awk '{print $9}' googlebot-verified.log | sort | uniq -c | sort -rn
# Requests by first path segment ($7 is the URL); parameters are cut off first
awk '{print $7}' googlebot-verified.log | cut -d'?' -f1 | cut -d'/' -f2 | sort | uniq -c | sort -rn
# How many requests carried URL parameters at all
grep -c '?' googlebot-verified.log
A small script or a database. Once the questions get more involved, such as time to first crawl, a comparison with the sitemap, or months side by side, it pays to load the verified lines into a database or a data warehouse. The article on setting up Google BigQuery for a Rails and Solidus shop shows that kind of setup for shop data, and log lines fit into the same pattern.
Example: Aoife's developer does the whole May analysis with the command line and the short Python script above. The first pass, extracting Googlebot lines and verifying the addresses, takes about 20 minutes. Grouping by section and status takes another hour, mostly spent writing the rules that put each URL in the right section. The list comparison for orphans runs in a spreadsheet. No new software, no licence, and the commands are saved so June's analysis takes a fraction of the time.
The privacy side: logs are personal data
Every line in an access log contains an IP address, and an IP address can identify a person. This is not a technicality. The General Data Protection Regulation (GDPR) names online identifiers in its definition of personal data in Article 4(1), and its recitals list internet protocol addresses among those identifiers18. In 2016 the Court of Justice of the European Union ruled in the Breyer case that even a changing (dynamic) IP address stored by a website operator is personal data where the operator has legal means to identify the person with the internet provider's help, and that keeping a website running and protecting it against attacks can be a legitimate interest for storing such data19. In Ireland the GDPR applies directly, the Data Protection Act 2018 sits alongside it20, and the Data Protection Commission (DPC) is the regulator.
What that means for your logs, in practice:
- You need a lawful basis. For security and keeping the site running, that is usually legitimate interests under Article 6(1)(f) of the GDPR21, and the recitals name network and information security as a legitimate interest18. Write the reasoning down.
- Keep them only as long as you need them. The storage limitation principle in Article 5(1)(e)21 means you decide a retention period and can justify it. The DPC describes the aim as making sure personal data "are not kept longer than necessary"22. Your server's log rotation is where that period becomes real.
- Bots are not people, visitors are. For SEO analysis you only need the lines from crawlers. Extract those, and shorten or remove the IP addresses of everything else before the file leaves the server.
- Limit who gets the files. If an outside contractor analyses your logs, they process personal data on your behalf, which needs a written agreement under Article 28 of the GDPR. The article on vetting data processors explains what goes into one.
- Say it in your privacy notice. Server logs for security and operation belong in the list of what you collect.
This section is general information about the law as it stood in August 2025, not legal advice. For your own setup, ask someone qualified.
Example: Aoife writes a short note for her records: access logs are kept for 30 days for security and the operation of the shop, under legitimate interests. Then they are deleted by the server's rotation. For SEO, her developer extracts only lines from verified crawlers. In the extract, every human visitor's address is gone, because only crawler lines are kept in the first place. The developer works under a written processing agreement, and the shop's privacy notice already lists server logs. None of this slows the analysis down, and the 30 day limit is exactly the window the analysis needs.
When log analysis is worth it, and when it is not
Logs are a powerful tool, and like every powerful tool they cost time. Here is an honest guide to when that time pays back.
Worth it:
- Large sites and shops with filters. If you have tens of thousands of URLs, or a few thousand pages that filters and parameters multiply into far more, logs show where crawling goes, and nothing else does. Google's large site guide names these sites, and the "Discovered, currently not indexed" pile as the warning sign8.
- Relaunches and migrations. Before launch, logs show which old URLs Google still requests, so none are forgotten in the redirect map. After launch, they prove the redirects work.
- Indexing puzzles. When important pages stay out of the index and Search Console does not explain why, the log tells you whether Google is coming at all.
- Bot questions. If you want to know what AI crawlers and other bots do on your site before you decide anything about them, the log is the only source.
Not worth it yet:
- A small site that gets crawled fine. A business site with 40 pages, all indexed, new pages crawled within a day or two: the Crawl Stats report and the Page indexing report already tell you everything. Google's own guide says such sites do not need to think about crawl budget8.
- No access to raw logs. If your platform gives you none, work with Search Console's reports until you change hosting for other reasons.
- No one to act on the findings. An analysis that shows 79% crawl waste is only worth something if someone can then change the filters, the links and the redirects.
Example: Barrow Outdoor goes down the left side of the flow without a pause: 210,000 URLs crawled in a month against 2,600 useful ones, 52,000 pages stuck in "Discovered, currently not indexed", and raw logs available. Now picture a different, invented business: a joinery with a 40 page website, every page indexed and new pages crawled within two days. It answers no at both of the first two questions. For that site, ten minutes in the Crawl Stats report once a quarter is enough, and a log analysis would be time better spent elsewhere.
The whole analysis, step by step
Here is the full method in one place, in the order that works.
Example: here is Barrow Outdoor's May analysis as one findings table, in the order Aoife and her developer will fix things. The order follows a simple rule: the biggest waste with the least effort first, and anything that makes Google slow down for the whole site before anything cosmetic.
| Order | Finding from the log | Size | Fix | Where it is explained |
|---|---|---|---|---|
| 1 | Filter and parameter URLs take most of Googlebot's page requests | 269,000 requests, 69.3% | Decide which filter combinations deserve a page, make the rest uncrawlable | Faceted navigation |
| 2 | Server errors on slow filter pages in the evening | 4,500 requests | Shrinks with fix 1, then speed up the remaining queries | Page speed |
| 3 | Wishlist links send Googlebot to the login page | 6,000 requests | Turn the wishlist link into a button that is not a crawlable link | This chapter |
| 4 | Redirect chains from an old URL change | 2,100 URLs | Point every old URL straight at its final target | Relaunching |
| 5 | Products only reachable through JavaScript filter links | 140 URLs | Make product links plain links in the HTML | JavaScript SEO |
| 6 | Orphan products and guides, deep pagination | 480 URLs | Link them from categories and guides, check the sitemap | Sitemaps |
| 7 | Internal links to deleted products | 210 links | Update the guides, redirect where a close replacement exists | Canonicals and duplicates |
| 8 | Scripts and stylesheets refetched after every deploy | 11 deploys | Version only files that changed | This chapter |
| 9 | Fake Googlebots | 34,000 requests from 41 addresses | Rate limit or block at the server after verification | This chapter |
Then the same analysis runs again in June. The numbers to watch are the three from this chapter: crawl waste, which should fall from 79.1%, coverage of useful URLs, which should rise from 76.2%, and the median time to first crawl for new products, which should fall from 9 days. If they move, the fixes work. If they do not, the log will show why.
My view
Server logs are the most honest data source in SEO. They do not summarise, sample or estimate. They record what happened. That is their strength, and it is also why I do not recommend them to everyone. For most small websites, the Crawl Stats and Page indexing reports in Search Console answer every useful question, and a log analysis would be expensive curiosity.
For a shop with filters, it is different. A shop's catalogue is small compared with the number of URLs its filters can generate, and that gap is exactly what logs make visible and what no other report measures precisely. A log analysis turns "Google doesn't index our products" into a number like 79% and a list of causes, and that is a far better starting point for any decision. If a shop is being built or relaunched, for example on Solidus, that is the best moment to settle the log format, with response times included, and the retention period, before the first problem rather than after it.
Two things I would insist on. First, verify every bot before you count it. An analysis of unverified "Googlebot" lines measures, in part, the scrapers who copy your prices. Second, treat logs as personal data from day one. A short retention period, crawler lines only for SEO, and a sentence in the privacy notice cost almost nothing and keep the analysis clean.
Conclusion
Search Console shows you the verdict. Your logs show you the evidence: every request, from every crawler, with every answer your server gave. For a site with many URLs, filters, a relaunch or an indexing puzzle, a month of verified logs answers the questions no report can: where Googlebot's attention goes, which status codes it meets, which pages it never visits, how long new pages wait, and which other bots read your site.
For Aoife, one month of logs turned a vague worry into numbers: 79.1% of Googlebot's page requests went to filters and old URLs, 620 useful pages got no visit at all, and new products waited a median of 9 days. Each of those numbers now has a fix and a chapter, and next month's log will show whether the fixes worked. The last chapter of this series, the technical SEO audit checklist, puts log analysis in its place among all the other checks.
If you want to know where Google really spends its time on your site, or you want a second pair of eyes on your logs before a relaunch, book the free workshop. We look at it together, the first two weeks of work are on me, and my prices are public before you ever ask.
