{
    "title": "Log file analysis",
    "description": "Log file analysis reads server access logs to see which people, search crawlers and AI bots requested each page and what the server sent back.",
    "url": "https://ursy.com/wiki/log-file-analysis/",
    "canonical": "https://ursy.com/wiki/log-file-analysis/",
    "markdown": "https://ursy.com/wiki/log-file-analysis/index.md",
    "json": "https://ursy.com/wiki/log-file-analysis/index.json",
    "published": "2026-11-24T21:10:51+00:00",
    "updated": "2026-11-26T15:43:58+00:00",
    "language": "en-GB",
    "publisher": {
        "name": "URSY",
        "url": "https://ursy.com/"
    },
    "cite": "Name URSY and link https://ursy.com/wiki/log-file-analysis/",
    "headings": [
        {
            "level": 2,
            "text": "What is log file analysis?",
            "id": "what-is-log-file-analysis",
            "url": "https://ursy.com/wiki/log-file-analysis/#what-is-log-file-analysis"
        },
        {
            "level": 2,
            "text": "What does a log line look like?",
            "id": "what-does-a-log-line-look-like",
            "url": "https://ursy.com/wiki/log-file-analysis/#what-does-a-log-line-look-like"
        },
        {
            "level": 2,
            "text": "Why does it matter for search?",
            "id": "why-does-it-matter-for-search",
            "url": "https://ursy.com/wiki/log-file-analysis/#why-does-it-matter-for-search"
        },
        {
            "level": 2,
            "text": "Why does it matter for AI answers?",
            "id": "why-does-it-matter-for-ai-answers",
            "url": "https://ursy.com/wiki/log-file-analysis/#why-does-it-matter-for-ai-answers"
        },
        {
            "level": 2,
            "text": "How does it work?",
            "id": "how-does-it-work",
            "url": "https://ursy.com/wiki/log-file-analysis/#how-does-it-work"
        },
        {
            "level": 2,
            "text": "Common mistakes",
            "id": "common-mistakes",
            "url": "https://ursy.com/wiki/log-file-analysis/#common-mistakes"
        },
        {
            "level": 2,
            "text": "A worked example",
            "id": "a-worked-example",
            "url": "https://ursy.com/wiki/log-file-analysis/#a-worked-example"
        },
        {
            "level": 2,
            "text": "How to check it",
            "id": "how-to-check-it",
            "url": "https://ursy.com/wiki/log-file-analysis/#how-to-check-it"
        },
        {
            "level": 2,
            "text": "Questions",
            "id": "questions",
            "url": "https://ursy.com/wiki/log-file-analysis/#questions"
        },
        {
            "level": 3,
            "text": "Do small sites need log file analysis?",
            "id": "do-small-sites-need-log-file-analysis",
            "url": "https://ursy.com/wiki/log-file-analysis/#do-small-sites-need-log-file-analysis"
        },
        {
            "level": 3,
            "text": "Where do I find my logs?",
            "id": "where-do-i-find-my-logs",
            "url": "https://ursy.com/wiki/log-file-analysis/#where-do-i-find-my-logs"
        },
        {
            "level": 3,
            "text": "Why do logs and analytics never agree?",
            "id": "why-do-logs-and-analytics-never-agree",
            "url": "https://ursy.com/wiki/log-file-analysis/#why-do-logs-and-analytics-never-agree"
        },
        {
            "level": 2,
            "text": "Related words",
            "id": "related-words",
            "url": "https://ursy.com/wiki/log-file-analysis/#related-words"
        },
        {
            "level": 2,
            "text": "Sources",
            "id": "sources",
            "url": "https://ursy.com/wiki/log-file-analysis/#sources"
        }
    ],
    "links": [
        {
            "text": "bots",
            "url": "https://ursy.com/wiki/bot-web-robot/",
            "internal": true
        },
        {
            "text": "Googlebot",
            "url": "https://ursy.com/wiki/googlebot/",
            "internal": true
        },
        {
            "text": "GPTBot",
            "url": "https://ursy.com/wiki/gptbot/",
            "internal": true
        },
        {
            "text": "server logs",
            "url": "https://ursy.com/wiki/server-logs/",
            "internal": true
        },
        {
            "text": "Apache log documentation",
            "url": "https://httpd.apache.org/docs/2.4/logs.html",
            "internal": false
        },
        {
            "text": "IP address",
            "url": "https://ursy.com/wiki/ip-address/",
            "internal": true
        },
        {
            "text": "HTTP",
            "url": "https://ursy.com/wiki/http/",
            "internal": true
        },
        {
            "text": "HTTP status code",
            "url": "https://ursy.com/wiki/http-status-code/",
            "internal": true
        },
        {
            "text": "referrer",
            "url": "https://ursy.com/wiki/referrer/",
            "internal": true
        },
        {
            "text": "user agent",
            "url": "https://ursy.com/wiki/user-agent/",
            "internal": true
        },
        {
            "text": "nginx log module",
            "url": "https://nginx.org/en/docs/http/ngx_http_log_module.html",
            "internal": false
        },
        {
            "text": "Google",
            "url": "https://ursy.com/wiki/google/",
            "internal": true
        },
        {
            "text": "managing crawl budget",
            "url": "https://developers.google.com/search/docs/crawling-indexing/large-site-managing-crawl-budget",
            "internal": false
        },
        {
            "text": "orphan pages",
            "url": "https://ursy.com/wiki/orphan-page/",
            "internal": true
        },
        {
            "text": "URL parameters",
            "url": "https://ursy.com/wiki/url-parameter/",
            "internal": true
        },
        {
            "text": "faceted navigation",
            "url": "https://ursy.com/wiki/faceted-navigation/",
            "internal": true
        },
        {
            "text": "redirect chains",
            "url": "https://ursy.com/wiki/redirect-chain/",
            "internal": true
        },
        {
            "text": "soft 404",
            "url": "https://ursy.com/wiki/soft-404/",
            "internal": true
        },
        {
            "text": "Crawl Stats report",
            "url": "https://support.google.com/webmasters/answer/9679690",
            "internal": false
        },
        {
            "text": "Google Analytics 4",
            "url": "https://ursy.com/wiki/google-analytics-4/",
            "internal": true
        },
        {
            "text": "crawler page",
            "url": "https://developers.openai.com/api/docs/bots",
            "internal": false
        },
        {
            "text": "OAI-SearchBot",
            "url": "https://ursy.com/wiki/oai-searchbot/",
            "internal": true
        },
        {
            "text": "ChatGPT-User",
            "url": "https://ursy.com/wiki/chatgpt-user/",
            "internal": true
        },
        {
            "text": "training crawler",
            "url": "https://ursy.com/wiki/training-crawler/",
            "internal": true
        },
        {
            "text": "live fetcher",
            "url": "https://ursy.com/wiki/live-fetcher/",
            "internal": true
        },
        {
            "text": "CDN",
            "url": "https://ursy.com/wiki/cdn/",
            "internal": true
        },
        {
            "text": "edge cache",
            "url": "https://ursy.com/wiki/edge-cache/",
            "internal": true
        },
        {
            "text": "origin server",
            "url": "https://ursy.com/wiki/origin-server/",
            "internal": true
        },
        {
            "text": "hits",
            "url": "https://ursy.com/wiki/hit-analytics/",
            "internal": true
        },
        {
            "text": "verifying Googlebot",
            "url": "https://developers.google.com/search/docs/crawling-indexing/verifying-googlebot",
            "internal": false
        },
        {
            "text": "DNS",
            "url": "https://ursy.com/wiki/dns/",
            "internal": true
        },
        {
            "text": "search crawlers",
            "url": "https://ursy.com/wiki/search-crawler/",
            "internal": true
        },
        {
            "text": "AI crawlers",
            "url": "https://ursy.com/wiki/ai-crawler/",
            "internal": true
        },
        {
            "text": "XML sitemap",
            "url": "https://ursy.com/wiki/xml-sitemap/",
            "internal": true
        },
        {
            "text": "ICO",
            "url": "https://ico.org.uk/for-organisations/uk-gdpr-guidance-and-resources/personal-information-what-is-it/what-is-personal-information-a-guide/",
            "internal": false
        },
        {
            "text": "data retention",
            "url": "https://ursy.com/wiki/data-retention/",
            "internal": true
        },
        {
            "text": "robots.txt",
            "url": "https://ursy.com/wiki/robots-txt/",
            "internal": true
        },
        {
            "text": "block AI crawlers",
            "url": "https://ursy.com/wiki/block-ai-crawlers/",
            "internal": true
        },
        {
            "text": "ChatGPT",
            "url": "https://ursy.com/wiki/chatgpt/",
            "internal": true
        },
        {
            "text": "AI Crawler Log Analyser",
            "url": "https://ursy.com/ai-crawler-log-analyzer/",
            "internal": true
        },
        {
            "text": "Verify AI Bot",
            "url": "https://ursy.com/verify-ai-bot/",
            "internal": true
        },
        {
            "text": "Robots.txt Checker",
            "url": "https://ursy.com/robots-txt-checker/",
            "internal": true
        },
        {
            "text": "AI Bot Checker",
            "url": "https://ursy.com/ai-bot-checker/",
            "internal": true
        },
        {
            "text": "redirects",
            "url": "https://ursy.com/wiki/redirect/",
            "internal": true
        },
        {
            "text": "Redirect Checker",
            "url": "https://ursy.com/redirect-checker/",
            "internal": true
        },
        {
            "text": "Broken Link Checker",
            "url": "https://ursy.com/broken-link-checker/",
            "internal": true
        },
        {
            "text": "Sitemap Checker",
            "url": "https://ursy.com/sitemap-checker/",
            "internal": true
        },
        {
            "text": "Google Search Console",
            "url": "https://ursy.com/wiki/google-search-console/",
            "internal": true
        },
        {
            "text": "Log file analyser",
            "url": "https://ursy.com/pro/log-file-analyser/",
            "internal": true
        },
        {
            "text": "Crawl budget by bot",
            "url": "https://ursy.com/pro/crawl-budget-by-bot/",
            "internal": true
        },
        {
            "text": "Pages AI never reads",
            "url": "https://ursy.com/pro/pages-ai-never-reads/",
            "internal": true
        },
        {
            "text": "cookies",
            "url": "https://ursy.com/wiki/cookie/",
            "internal": true
        },
        {
            "text": "Search Console vs analytics",
            "url": "https://ursy.com/wiki/search-console-vs-analytics/",
            "internal": true
        },
        {
            "text": "Crawl budget",
            "url": "https://ursy.com/wiki/crawl-budget/",
            "internal": true
        },
        {
            "text": "Verified bots",
            "url": "https://ursy.com/wiki/verified-bots/",
            "internal": true
        },
        {
            "text": "Bot traffic in analytics",
            "url": "https://ursy.com/wiki/bot-traffic-in-analytics/",
            "internal": true
        }
    ],
    "words": 1071,
    "text": "Log file analysis is reading your web server’s access logs to see exactly which people, search crawlers and AI bots asked for which pages, when, and what your server sent back. Analytics tools only see visitors who run their script. The server log records every request, so it is the closest thing to a full record of who reads your site. What is log file analysis? Each time anything asks your server for a file, the server can write one line to an access log. Log file analysis means collecting those lines, cleaning them, sorting them by visitor type and looking for patterns. It answers questions no other tool can: did Googlebot reach my new pages, how often does GPTBot visit, and which addresses are wasting my server’s time? See server logs for the basics. What does a log line look like? The Apache log documentation sets out the Combined Log Format, which most servers use or copy. Its own example line is: 127.0.0.1 - frank [10/Oct/2000:13:55:36 -0700] \"GET /apache_pb.gif HTTP/1.0\" 200 2326 \"http://www.example.com/start.html\" \"Mozilla/4.08 [en] (Win98; I ;Nav)\" Part Meaning 127.0.0.1 The IP address of the client – frank Identity check (almost always blank) and logged-in user [10/Oct/2000:13:55:36 -0700] Time the request arrived “GET /apache_pb.gif HTTP/1.0” Method, address asked for, protocol 200 The HTTP status code sent back 2326 Size of the reply body in bytes “http://www.example.com/start.html” The referrer, if sent “Mozilla/4.08 …” The user agent the client claims The nginx log module has the same “combined” format built in, and uses it when no other is named. Nginx can also log $request_time, the processing time in seconds with millisecond detail, which is handy for finding slow pages. Why does it matter for search? Google’s guide to managing crawl budget is aimed at large sites, roughly 1 million or more pages, or 10,000 or more pages that change daily. It says Google crawls as much as your server can handle, and slows down when it sees slow replies, 5xx errors or 429 rate limits. It warns that soft 404 pages keep getting crawled and waste budget. Logs show all of this page by page: pages Googlebot never visits, often orphan pages; crawls wasted on URL parameters, faceted navigation and redirect chains; soft 404 and error pages that keep being asked for; how long after publishing a page is first crawled. Search Console’s Crawl Stats report gives a summary: total requests, download size, average response time, and breakdowns by response, file type, purpose (discovery or refresh) and Googlebot type. Logs give you the same story for every bot, not only Google’s. Why does it matter for AI answers? AI crawlers leave no trace in Google Analytics 4, because they do not run its script. Logs are where you see them. OpenAI’s crawler page explains why the names matter: OAI-SearchBot is for search, GPTBot gathers content that may be used to train models, and ChatGPT-User visits when a person’s question needs a page. OpenAI also says robots.txt rules may not apply to ChatGPT-User, since a person started the action. So a log line from ChatGPT-User is close to a real reader, while GPTBot is not. Read training crawler and live fetcher. How does it work? Collect. Download access logs from your server or CDN. If a CDN answers from its edge cache, your origin server log will miss those hits. Parse. Split each line into fields. Drop requests for images and scripts if you only want pages. Verify. Check each bot’s address. Google’s page on verifying Googlebot gives a reverse then forward DNS check, or matching against its published JSON lists. OpenAI publishes its own lists too. Group. Sort into people, search crawlers, AI crawlers, fakes and others. Compare. Match crawled pages against your XML sitemap to find gaps both ways. Common mistakes Trusting names. A line that says Googlebot may not be Google. Always check the address. Too short a window. Some pages get crawled once a month. Look at 30 days or more. Missing the edge. Origin logs alone undercount when a CDN serves cached pages. Keeping addresses for ever. The ICO says IP addresses may be personal data. Set a data retention limit. Blocking with no proof. Read the log before you add rules to robots.txt or block AI crawlers. A worked example A small UK online shop with 4,000 pages reads 30 days of logs. Finding What it means Fix Over half of Googlebot’s hits were on filter addresses like ?colour=red&size=9 Crawl spent on near-copies Block sort and filter variants; link to clean pages 180 product pages had no Googlebot visit Weak internal links Link them from category pages Thousands of “GPTBot” lines from addresses not on gptbot.json Fake bot Rate limit or block those addresses ChatGPT-User fetched 3 buying guides People asked ChatGPT about them Keep those guides current How to check it Upload a log sample to our AI Crawler Log Analyser to sort AI bots from people. Check single addresses with Verify AI Bot. See what your robots.txt allows with the Robots.txt Checker and AI Bot Checker. Find the redirects and errors bots keep hitting with the Redirect Checker and Broken Link Checker, and test your sitemap with the Sitemap Checker. Open the Crawl Stats report in Google Search Console. In URSY Pro, opening in stages: the Log file analyser, Crawl budget by bot and Pages AI never reads. Questions Do small sites need log file analysis? For crawl budget, rarely. For seeing AI bots and fake bots, yes: no other tool shows them. Where do I find my logs? In your server’s control panel, an SFTP folder, or your CDN’s log export. Nginx writes to logs/access.log by default. Why do logs and analytics never agree? Analytics counts browsers that run its tag and accept cookies. Logs count every request, bots included. See Search Console vs analytics. Related words Server logs Crawl budget Verified bots AI crawler Bot traffic in analytics Sources Apache HTTP Server 2.4: Log Files, checked 24 November 2026 nginx: Module ngx_http_log_module, checked 24 November 2026 Google Search Central: Crawl budget management for large sites, checked 24 November 2026 Search Console Help: Crawl Stats report, checked 24 November 2026 Google Search Central: Verifying Googlebot and other Google crawlers, checked 24 November 2026 OpenAI: Overview of OpenAI crawlers, checked 24 November 2026 ICO: What is personal information? A guide, checked 24 November 2026 Updated 24 November 2026 by URSY.com.",
    "source": "https://ursy.com/wiki/log-file-analysis/"
}