Sub topic 14
Checking What Crawlers Actually Do
Assume you understand HTTP requests, basic Markdown, and the fields in a web server access log. This chapter shows how to measure crawler behavior instead of inferring it from a standards proposal or a crawler’s name.
What to measure
A useful log review answers four questions:
- Which AI-related user-agent tokens requested your site?
- Did they request
/llms.txtor/llms-full.txt? - Which content did they fetch, and how often?
- Did the server allow, redirect, rate-limit, or reject those requests?
A user-agent token is the identifying text that a client sends in its HTTP User-Agent header. For example, a request might identify itself as GPTBot, ClaudeBot, or PerplexityBot.
Treat the token as a reported claim, not proof of identity. A client can copy another crawler’s user-agent string. IP-range checks, reverse DNS, and published verification procedures can provide stronger evidence, but none should replace normal access controls.
Follow a request from the log to a conclusion
Start with a time range that includes normal traffic. A single request is weak evidence. A repeated pattern across several days is more useful.
For each matching request, record:
| Field | What it tells you |
|---|---|
| Timestamp | When the crawler visited |
| User-agent | Which client identity it reported |
| Request path | Whether it requested `llms.txt`, HTML, or another asset |
| Status code | Whether your server allowed or rejected it |
| Response bytes | Whether it received meaningful content |
| Client IP | A value to compare with published verification data |
Status codes need context. A 200 means the response succeeded. A 301 or 302 means the client was redirected. A 403 indicates that the server refused the request. A 429 usually means rate limiting. A 404 for /llms.txt shows that the file was not found, but it does not show whether the crawler would have used it.
Search access logs
Suppose access.log uses a common format with the user-agent near the end of each line. These commands find AI crawler requests and requests for the proposed files:
# Find requests from selected AI-related tokens.
grep -E 'GPTBot|OAI-SearchBot|ClaudeBot|PerplexityBot|Google-Extended|CCBot' access.log
# Check whether those clients requested llms.txt or llms-full.txt.
grep -E 'GET /(llms\.txt|llms-full\.txt)(\?| )' access.log \
| grep -E 'GPTBot|OAI-SearchBot|ClaudeBot|PerplexityBot|Google-Extended|CCBot'
# Count requests by a reported crawler identity.
grep -c 'GPTBot' access.log
grep -c 'OAI-SearchBot' access.log
# Inspect responses that were refused or rate-limited.
grep -E ' (403|429) ' access.log \
| grep -E 'GPTBot|OAI-SearchBot|ClaudeBot|PerplexityBot'Adapt the path and field assumptions to your logging format. A reverse proxy, CDN, or web application firewall may hold the most complete record, rather than the application server.
Compare behavior with policy
Separate the crawler’s purpose before changing rules. A training crawler, a search crawler, and a user-triggered fetcher may have different business purposes and different user-agent tokens. Blocking one does not necessarily block the others.
For each token, make a small record containing:
- observed request paths;
- request count and time range;
- status-code distribution;
- whether requests obeyed
robots.txt; - verification evidence for the source network;
- the action you want, such as allow, rate-limit, or deny.
Review this record after publishing llms.txt or changing robots.txt. A reduction in requests may reflect your rule, a crawler policy change, caching, or unrelated traffic changes.
Exercise
Your logs show 500 requests from GPTBot for HTML pages, no request for /llms.txt, and 500 successful responses. Can you conclude that GPTBot does not use llms.txt?
Show answer
No. The logs show only that this observed traffic did not request the file. Check a longer period, confirm the crawler identity, and consult its documented behavior before drawing that conclusion.