Skip to the content
Start free

Log file analysis

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.

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:

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? #

  1. 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.
  2. Parse. Split each line into fields. Drop requests for images and scripts if you only want pages.
  3. 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.
  4. Group. Sort into people, search crawlers, AI crawlers, fakes and others.
  5. 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 #

  1. Upload a log sample to our AI Crawler Log Analyser to sort AI bots from people.
  2. Check single addresses with Verify AI Bot.
  3. See what your robots.txt allows with the Robots.txt Checker and AI Bot Checker.
  4. Find the redirects and errors bots keep hitting with the Redirect Checker and Broken Link Checker, and test your sitemap with the Sitemap Checker.
  5. Open the Crawl Stats report in Google Search Console.
  6. 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.

Sources #

Updated 24 November 2026 by URSY.com.

Cite this page: Log file analysis. URSY. Updated 26 November 2026. https://ursy.com/wiki/log-file-analysis/ · Section links

Tools for this

  • LiveAI Crawler Log Analyserdrop in your server log, see which AI bots read what (in browser)Run the check →
  • LiveAI Agent ReadinessOpenAPI, .well-known files, MCP, agent instructionsRun the check →
  • LiveAI Readiness Checkeris your site ready for ChatGPT, Gemini, Claude? Score + fixesRun the check →
  • LiveAI Bot Checkerwhich AI bots your robots.txt lets inRun the check →
  • LiveRobots.txt Checker + Generatortest any address against your rules, or write new onesRun the check →
  • LiveSchema Markup CheckerRun the check →
  • ProLog file analyserUpload or connect logs: every bot, every pageIn URSY Pro →
  • ProBot verification logEvery bot visit, verified against published IP listsIn URSY Pro →
  • ProAI shopping feedsOpenAI feed, AI catalogue text, JSONL, knowledge graph from your shopIn URSY Pro →

All 871 wiki entries, A to Z →