Creative agency glossarySEO and Analytics

Log File Analysis

Log file analysis is the examination of a web server's access logs to see exactly how search engine crawlers and visitors request pages on a site.

What is log file analysis?

Log file analysis is reading the server's own record of what happened. Every request a web server receives, whether from a person, Googlebot or a scraper, is written to a log line: the time, the IP address, the URL requested, the response code, the bytes sent and the user agent that asked. Analysis means collecting those lines, filtering for the visitors you care about and looking for patterns. For SEO the interesting visitor is the crawler: which pages it fetches, how often, what it gets back and where it wastes time.

It is the only source that shows crawler behavior directly. Analytics tools see people with JavaScript enabled; Search Console shows summaries. The log shows every hit.

Why it matters

Why log file analysis matters

Because crawl budget is finite and most sites spend it badly. A crawler that spends half its visits on filter URLs, paginated archives and parameters nobody needs is a crawler that reaches your new pages late or not at all. The logs show this plainly, and nothing else does. They also surface problems no crawl tool can simulate: pages returning errors only under load, redirect chains crawlers keep hitting, orphaned URLs that still receive bot traffic years after they were unlinked.

For large sites it is the difference between guessing and knowing. For smaller sites it is a periodic sanity check that catches surprises, like a bot that has started hammering the search endpoint.

In practice

How log file analysis works in practice

  1. 01

    Get the logs from the host or the CDN, usually as compressed daily files, and load them into a log analysis tool, a spreadsheet for small sites or a database for large ones. Filter to verified search engine crawlers by checking that the IP addresses belong to the engine, since many bots fake the user agent. Then ask the basic questions: which URLs are crawled most, which important pages are rarely crawled, what share of requests return errors or redirects, and how much of the budget goes to URLs that should not be crawled at all.

  2. 02

    Turn the answers into fixes. Block or noindex the URL patterns that waste budget. Fix redirect chains and server errors. Add internal links to pages the crawler is missing. Check the sitemap against what is actually fetched. Then re-read the logs a few weeks later to confirm the crawler's behavior changed, which is the only proof that matters.

At RIOT

Log file analysis at RIOT

We run AltSounds, a music video channel, and Muvvoo, a music video database, both large enough that crawl budget is a real constraint. On sites of that size the logs are the only honest record of where crawlers spend their time, and they are where we go first when something about indexing does not add up.

See the work →

Watch out

What people get wrong about log file analysis

Trusting the user agent. Anything can call itself Googlebot; verify the IP. The other mistake is doing it once. Crawl behavior changes with every site update and every algorithm change, and a log review from last year tells you about last year. Finally, people drown in volume. The useful questions are few and specific, and a sample of a week's logs answers most of them.

Questions

People also ask

Where do I get my server log files?

From your hosting provider, your CDN or the server itself. Managed hosts usually offer downloads or an API, and CDNs offer log exports on higher plans.

What should I look for in log file analysis for SEO?

Which pages crawlers fetch and how often, which important pages they miss, what share of requests return errors or redirects and how much crawl goes to URLs that should be blocked. Verify the crawler's IP before trusting any of it, since many bots fake the user agent.

Do small websites need log file analysis?

Rarely as a routine, but it is worth doing once after a major change or when indexing behaves oddly. For large sites with many URLs it is essential.

Next to it in the glossary

  1. Local PackThe local pack is the block of three business listings with a map that Google shows for searches with local intent, drawn from Google Business Profile data.
  2. Local Search MarketingLocal search marketing is the practice of reaching customers who search for products and services near them, through local listings, local content and location-targeted ads.
  3. Local SEOLocal SEO is the practice of optimizing a business's online presence so it appears in search results for people looking nearby.
  4. Long-Tail KeywordA long-tail keyword is a longer, more specific search phrase with lower volume and clearer intent than a broad head term.
  5. Looker StudioLooker Studio is Google's free reporting tool for building live dashboards that pull data from analytics, advertising and search platforms into one view.
  6. LSI KeywordsLSI keywords are terms and phrases semantically related to a page's main topic, used in SEO to help search engines understand what the content is about and to cover the subject thoroughly.

Every SEO and Analytics term →

In the work

Where it shows up

All our creations →

From the journal

Read around it

The journal →

Talking the talk is one thing

We make the work.

RIOT is a creative agency and production studio in New York. Strategy, brand, film, photography, design and the campaigns that carry them, made by one team. A few lines is enough to start: we read every brief the same day.

    Footage