How to find and read AI crawler activity in your server logs
Find GPTBot, ClaudeBot, PerplexityBot and other AI crawlers in your server logs, verify them, sort training from search bots and set clear robots.txt rules.

AI crawlers appear in your server logs as requests with their own user agent strings, such as GPTBot, OAI-SearchBot, ClaudeBot and PerplexityBot. To read them properly, filter your logs by user agent, verify that each request really comes from the operator it names, and sort the bots into three groups: training crawlers, search crawlers and fetchers triggered by a user’s question. Then set robots.txt rules for each group on purpose.
What do you need before you start?
- Raw logs from the CDN edge and the origin. Cached responses never reach your origin, so origin logs alone undercount bot traffic.
- The right fields: timestamp, client IP, host, method, path with query, status code, bytes, user agent, and ideally cache status and response time.
- History: 30 to 90 days, so you can see patterns over time.
- A privacy check: IP addresses can count as personal data under GDPR. Agree with your privacy team what you keep and for how long.
- Tools: the command line for a first look, and a data warehouse for millions of lines a day.
Which AI crawlers should you look for?
The table lists common agents at the time of writing. Operators add and rename agents, so check their documentation before you rely on this list, starting with OpenAI’s bots documentation and Google’s overview of its crawlers.
| User agent token | Operator | Main purpose |
|---|---|---|
| GPTBot | OpenAI | Collects content that may be used to train models |
| OAI-SearchBot | OpenAI | Indexes pages for search features in ChatGPT |
| ChatGPT-User | OpenAI | Fetches pages when a ChatGPT user’s request needs them |
| ClaudeBot | Anthropic | Collects content that may be used to train models |
| Claude-SearchBot | Anthropic | Indexes pages to improve search results in Claude |
| Claude-User | Anthropic | Fetches pages when a Claude user asks a question |
| PerplexityBot | Perplexity | Indexes pages for Perplexity’s search results |
| Perplexity-User | Perplexity | Fetches pages for a user’s query |
| CCBot | Common Crawl | Builds an open web dataset that many AI projects use |
| Googlebot | Crawls for Google Search, including its AI features | |
| Bingbot | Microsoft | Crawls for Bing search |
Why is Google-Extended missing from your logs?
Google-Extended is a robots.txt product token. It has no user agent of its own, so it never appears in a log line. Google’s documentation explains that it lets sites control whether content Google crawls can be used for training Gemini models and for grounding in some Gemini products. Google also says it does not affect inclusion or ranking in Google Search. AI features in Google Search, such as AI Overviews, rely on the normal Googlebot crawl.
How do you find AI crawlers in your logs?
Here is an illustrative log line in the common combined format, with the user agent shortened:
203.0.113.24 - - [14/Nov/2026:14:22:31 +0000] "GET /en-us/guides/returns HTTP/1.1" 200 48211 "-" "Mozilla/5.0 ... compatible; GPTBot/1.2; +https://openai.com/gptbot"
Full strings change between versions, so match on the token. This counts requests per bot:
grep -oiE 'GPTBot|OAI-SearchBot|ChatGPT-User|ClaudeBot|Claude-SearchBot|Claude-User|PerplexityBot|Perplexity-User|CCBot|Googlebot|bingbot' access.log \
| sort | uniq -c | sort -rn
In a warehouse, add a bot column with a pattern match on the user agent and a bot_group column for training, search or user-triggered. Every later question becomes a simple group-by.
How do you verify that a bot is genuine?
Anyone can send a request that claims to be GPTBot or Googlebot. Use one of two checks.
Reverse and forward DNS. Look up the host name for the IP, check that it belongs to the operator’s domain, then look up that host name and confirm it returns the same IP. Google’s guide to verifying Googlebot lists the domains to expect.
$ host 66.249.66.1
1.66.249.66.in-addr.arpa domain name pointer crawl-66-249-66-1.googlebot.com.
$ host crawl-66-249-66-1.googlebot.com
crawl-66-249-66-1.googlebot.com has address 66.249.66.1
Published IP ranges. Google and OpenAI publish IP ranges for their crawlers as JSON files. Download them on a schedule and match each request’s IP. Where an operator publishes neither ranges nor reverse DNS names, treat its user agent as unverified.
Label every bot request as verified, unverified or spoofed. Spoofed means it claims a known bot and fails the check. Those requests are often scrapers, and your CDN’s bot rules are the place to handle them.
How do you separate training, search and user-triggered traffic?
- Training crawlers (GPTBot, ClaudeBot, CCBot) crawl broadly and steadily. Content they collect may be used to train models. They send no visitors directly.
- Search crawlers (OAI-SearchBot, Claude-SearchBot, PerplexityBot, Googlebot, Bingbot) build the indexes that answers and results draw on. Being crawled is a precondition for being cited.
- User-triggered fetchers (ChatGPT-User, Claude-User, Perplexity-User) request a page because a person asked something just now. Their traffic is bursty and focused on specific URLs, which makes it the closest log signal of real demand.
At the time of writing, some operators state that robots.txt rules may apply differently to user-initiated fetches. Read each operator’s current documentation before you plan around them.
What should you look for once traffic is labeled?
- Segments: join requests to your template map from how to audit a site with millions of URLs and see which templates each group requests.
- Status codes: 404s, server errors and redirect chains served to bots.
- Robots.txt fetches: how often each bot reads the file on each host.
- Requests to disallowed paths: these suggest spoofing or a bot using an older copy of your rules.
- Raw HTML: many AI fetchers may not run JavaScript, so check what your raw HTML contains for the pages they request.
- Load: spikes by bot and hour, compared with your capacity.
Say verified ChatGPT-User requests to your pricing pages double over a month while GPTBot stays flat. That suggests more people are asking ChatGPT about your pricing, and those pages deserve a careful content review.
What should you do with robots.txt?
Decide a policy for each group, then write it down. Here is one example that opts out of training and allows AI search:
User-agent: GPTBot
User-agent: ClaudeBot
User-agent: CCBot
User-agent: Google-Extended
Disallow: /
User-agent: OAI-SearchBot
User-agent: Claude-SearchBot
User-agent: PerplexityBot
Disallow: /account/
Disallow: /checkout/
User-agent: *
Disallow: /account/
Disallow: /checkout/
Keep these points in mind:
- Under RFC 9309, a crawler follows the group that names it and ignores the
*group, so repeat shared rules in each named group. - The RFC also says robots.txt rules are not a form of access authorization. Use authentication or CDN rules for anything that must stay private.
- Robots.txt applies per host and protocol. Each subdomain needs its own file.
- Blocking a training crawler does not remove content it already collected.
- Blocking a search crawler can reduce your chances of appearing in that assistant’s answers. Our explainer on generative engine optimization covers that trade-off.
Record the decision, its owner and its review date in your enterprise SEO governance checklist, and involve legal for training opt-outs.
What are the common mistakes?
- Trusting the user agent without verification.
- Reading only origin logs behind a CDN.
- Blocking Google-Extended and expecting to leave AI Overviews.
- Writing one rule for every AI bot, when the groups need different decisions.
Seopaca’s log analysis labels, verifies and groups bot traffic this way, so you can review it by template and market.
Frequently asked questions
Do AI crawlers respect robots.txt?
The major operators, including OpenAI, Anthropic, Google and Perplexity, say their crawlers follow robots.txt. Robots.txt is a request, so it cannot stop a bot that ignores it or fakes its user agent. At the time of writing, some operators also say user-triggered fetchers may be treated differently. Check each operator's documentation and enforce hard limits at your CDN.
Is Google-Extended a crawler?
No. Google-Extended is a robots.txt product token. It has no user agent string, so it never appears in your logs. Google uses it to let sites control whether content Google crawls can be used for some Gemini model training and grounding. Google says it does not affect inclusion or ranking in Google Search.
Does blocking GPTBot remove my site from ChatGPT search?
Not by itself. At the time of writing, OpenAI uses GPTBot for content that may be used for training and OAI-SearchBot for search features in ChatGPT. A site can disallow GPTBot and still allow OAI-SearchBot. OpenAI's bots documentation describes each user agent and how robots.txt applies to it.
How can I tell if a GPTBot request is fake?
Check the client IP address against the IP ranges OpenAI publishes for GPTBot. If the IP is outside those ranges, treat the request as unverified, whatever its user agent says. Requests that claim to be a known bot but fail verification are often scrapers, and you can rate limit or block them at your CDN.



