What your AI log analysis result means
Server access logs separate real AI crawler visits from policy assumptions by showing exact User-Agents, HTTP response codes, bandwidth, and top paths. The table below maps the five patterns this analyzer surfaces to their operational meaning and next fix.
| Log finding | Observed log signal | Impact on visibility or load | Next step |
|---|---|---|---|
| Healthy AI search & user-fetch | Search and retrieval bots receive clean 200 OK responses on key content pages. | AI answer engines can index and cite current pages cleanly. | Monitor top paths periodically and keep sitemaps fresh. |
AI search blocked (403 / 429) | OAI-SearchBot, Claude-SearchBot, or PerplexityBot receives 403 or 429 blocks. | Pages disappear from AI search citations even when robots.txt allows them. | Review CDN WAF / Bot Fight rules for the blocked IPs and paths. |
| Heavy model-training bandwidth | Training bots account for over 65% of AI hits or high megabytes transferred. | Increases origin load and egress bandwidth without driving direct referral clicks. | Disallow training tokens separately from search tokens in robots.txt. |
High 404 or 5xx crawl waste | Repeated 404 Not Found or 500/502/504 responses in AI bot rows. | Wastes origin capacity and leaves stale or missing citations in AI indexes. | Open Top Crawled Paths, add 301 redirects for moved URLs, and fix origin timeouts. |
| Spoofed control token | Google-Extended or Applebot-Extended appears inside an HTTP User-Agent header. | Indicates an unofficial scraper forging a robots.txt-only policy token. | Inspect the source IP via reverse IP lookup and rate-limit or block at the firewall. |
Reading status codes alongside purpose categories prevents the most common mistake in AI traffic management: accidentally blocking search-citation crawlers while trying to limit model-training scrapers.
How to export server logs and detect AI crawlers in 4 steps
Server access logs capture every automated HTTP request regardless of JavaScript execution. Follow these four steps to export a clean log window and audit AI crawler behavior without exposing sensitive files to third-party servers:
- Export a log slice that includes User-Agent headers: Pull rotated Nginx or Apache Combined logs (typically
/var/log/nginx/access.log.1.gz), a Cloudflare Logpush.jsonlexport, an AWS CloudFront W3C.tsv/.gzfile, or an AWS ALB log; avoid Apache Common Log Format, which omits the User-Agent column. - Drop up to 10 files or paste lines locally above: Upload raw
.log,.jsonl,.csv,.tsv, or compressed.gzarchives directly into your browser; nothing is transmitted to PromptDNS. - Separate AI search bots from training crawlers: Use the Purpose filter to compare
200 OKversus403/429responses for search and user-fetch agents separately from training crawlers. - Verify high-volume or suspicious IPs before changing firewall rules: Never trust a raw User-Agent string alone; check source IPs against official operator JSON ranges or forward-confirmed reverse DNS before allowlisting or blocking an address block.
Filter AI crawler hits from the command line
When working directly on a Linux server or handling multi-gigabyte log archives larger than browser memory, run these shell commands to summarize AI crawler requests and status codes directly on disk:
# 1. Filter rotated Nginx/Apache GZIP logs for major AI crawlers by User-Agent
zgrep -Ei '(GPTBot|OAI-SearchBot|ChatGPT-User|ClaudeBot|Claude-SearchBot|Claude-User|PerplexityBot|Perplexity-User|CCBot|Bytespider)' /var/log/nginx/access.log*.gz
# 2. Count AI crawler requests and HTTP status codes in an Nginx Combined log
awk -F'"' '$6 ~ /(GPTBot|OAI-SearchBot|ClaudeBot|PerplexityBot)/ { split($3, s, " "); print s[1], $6 }' /var/log/nginx/access.log | sort | uniq -c | sort -nr | head -20
# 3. Extract AI crawler hits from a Cloudflare Logpush JSONL export with jq
jq -r 'select(.ClientRequestUserAgent | test("GPTBot|OAI-SearchBot|ClaudeBot|PerplexityBot|MistralAI-User"; "i")) | [.EdgeResponseStatus, .ClientIP, .ClientRequestURI, .ClientRequestUserAgent] | @tsv' cloudflare.jsonl Supported server log formats and the 22 tracked AI crawlers
PromptDNS's AI log analyzer matches extracted HTTP User-Agent fields strictly against the 22 canonical AI tokens tracked across the platform, separating active crawlers from policy tokens defined under the HTTP Robots Exclusion Protocol standard (IETF RFC 9309).
| Log format | File extensions | Fields extracted | Key parsing detail |
|---|---|---|---|
| Nginx / Apache Combined | .log, .txt, .gz | Client IP, method, path, HTTP status, bytes, quoted User-Agent | Matches only the final User-Agent field so URLs like /gptbot/ never false-trigger. |
| Cloudflare Logpush JSONL | .jsonl, .json, .gz | ClientIP, ClientRequestURI, EdgeResponseStatus, EdgeResponseBytes, ClientRequestUserAgent | Captures edge WAF 403/429 blocks that never reach your origin server. |
| AWS CloudFront W3C TSV | .tsv, .log, .gz | c-ip, cs-uri-stem, sc-status, sc-bytes, cs(User-Agent) | Reads #Fields: headers dynamically and URL-decodes %20 spaces in User-Agents. |
| AWS ALB / ELB Logs | .log, .gz | Client IP, ELB status, sent bytes, request URL path, quoted User-Agent | Strips scheme and host prefix from full ALB request URLs cleanly. |
| Headered CSV Exports | .csv, .gz | Auto-detects user_agent/ua, path/url, status, bytes, ip | Works with SIEM, Datadog, Fastly, or CDN analytics CSV exports. |
| Purpose category | Tracked tokens (22 total) | Operational role |
|---|---|---|
| AI Search Index (7) | OAI-SearchBot, Claude-SearchBot, PerplexityBot, DuckAssistBot, Applebot, Google-CloudVertexBot, YouBot | Builds live search and answer-citation indexes that link back to your site. |
| User-Initiated Fetch (5) | ChatGPT-User, Claude-User, Perplexity-User, MistralAI-User, Meta-ExternalFetcher | Fetches a live page on demand when a user asks an AI assistant about a URL. |
| Model Training (3) | GPTBot, ClaudeBot (incl. legacy claude-web / anthropic-ai), Meta-ExternalAgent | Collects web text for foundation model training corpora. |
| Archive, Unconfirmed & Control (7) | CCBot, Amazonbot, Bytespider, cohere-ai, Diffbot, Google-Extended*, Applebot-Extended* | Archive/multipurpose crawlers plus two robots.txt-only control tokens (*flagged as spoofed if seen in HTTP logs). |
Inspect dedicated operator profiles for GPTBot, ClaudeBot, PerplexityBot, and OAI-SearchBot, or review all 22 tokens and verification sources in the AI crawlers list.
What this AI log analyzer does not check
Running entirely inside your browser keeps sensitive access logs private while setting four clear boundaries on what static log parsing alone can prove:
- Live reverse DNS or IP CIDR ownership verification: Because this tool makes zero network requests, it classifies requests by User-Agent string and extracts unique source IPs; verify high-volume IPs separately against official operator JSON ranges or forward-confirmed reverse DNS.
- Common Log Format files lacking User-Agent headers: Older Apache or Nginx logs configured with Common format instead of Combined format omit the User-Agent column entirely, making crawler identification impossible without switching log format.
- CDN edge blocks absent from origin logs: If Cloudflare, Fastly, or CloudFront challenges or blocks a crawler at the edge, that
403or429appears only in CDN edge logs (such as Logpush JSONL), never in your origin Nginx log. - Stealth scrapers forging desktop browser User-Agents: Unofficial scrapers that send standard Chrome or Safari User-Agent strings cannot be separated by token matching alone and require behavioral rate or ASN analysis.
Auditing raw Nginx, Apache, Cloudflare, and CloudFront logs locally turns AI crawler visibility from guesswork into measured request counts, status codes, bandwidth, and top paths. Explore related diagnostics and guides in the AI crawler access section.
Frequently asked questions
Why do GPTBot, ClaudeBot, and PerplexityBot not appear in Google Analytics? +
Most AI crawlers and real-time retrieval fetchers download raw HTML without executing client-side JavaScript tracking tags, so tools like Google Analytics 4 miss them completely. Server and CDN access logs record every HTTP request at the edge or origin regardless of JavaScript execution.
Are my server access logs uploaded to PromptDNS servers? +
No, every uploaded log file, GZIP archive, and pasted line is decompressed and analyzed entirely inside your browser JavaScript with zero network uploads. Visitor IP addresses, internal URLs, and query strings never leave your device.
Which server and CDN log formats does this AI log analyzer support? +
PromptDNS AI log analyzer automatically detects Nginx and Apache Combined access logs, Cloudflare Logpush JSON and JSONL files, AWS CloudFront W3C tab-separated logs, AWS Application Load Balancer (ALB) logs, and headered CSV exports, including compressed .gz archives up to 10 files at once.
How can I tell if a GPTBot or ClaudeBot hit in my logs is genuine or spoofed? +
Any script can copy a User-Agent string, so confirm high-volume or suspicious hits by checking the client IP address against the operator's published JSON IP ranges (such as OpenAI, Anthropic, and Perplexity IP lists) or forward-confirmed reverse DNS for Applebot and Amazonbot.
Why does this tool flag Google-Extended or Applebot-Extended in an access log as spoofed? +
Google and Apple document Google-Extended and Applebot-Extended strictly as robots.txt policy control tokens rather than HTTP crawler User-Agents. Because neither company sends real requests using those strings, seeing them inside an access log indicates an unofficial scraper spoofing the token.
Why are OAI-SearchBot or PerplexityBot receiving HTTP 403 errors when robots.txt allows them? +
robots.txt is advisory and sits above network security controls, so a CDN bot-fight mode, Web Application Firewall (WAF) challenge, or origin rate limiter can return HTTP 403 or 429 before a crawler reads your pages. Review your WAF security event logs for the blocked IPs and paths shown in the breakdown above.
Next checks
- Test live
robots.txtverdicts, edge HTTP responses, and raw HTML across all 22 tokens with the AI crawler checker. - Validate group rules and syntax across Google, Bing, and AI bots in the robots.txt checker.
- Confirm whether a crawler IP belongs to its claimed operator using our AI crawler verification guide.
- Run forward-confirmed PTR and origin ASN lookups on suspicious log IPs in the reverse IP lookup.
- Validate JSON-LD structured data,
@graphlinks, and Schema.org properties on your crawled URLs with our schema validator. - Configure selective training versus search bot rules with how to block AI crawlers.