Every time a browser, bot or crawler requests a file from your site, the web server writes a line in its access log. Long before JavaScript analytics existed, these logs were the only statistics. They remain valuable – especially for technical SEO and security. See web server software.
A log line explained
66.249.66.1 - - [02/Dec/2026:09:14:03 +0100] "GET /dns-records-explained HTTP/2" 200 18342 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"| Part | Meaning |
|---|---|
| 66.249.66.1 | IP address of the client |
| [02/Dec/2026…] | Date and time |
| GET /dns-records-explained | Method and URL |
| 200 | Status code |
| 18342 | Bytes sent |
| "-" | Referrer |
| Mozilla/5.0 … Googlebot | User agent |
What you can learn
- Crawl behaviour: which pages search engines crawl, how often, and which they ignore.
- AI crawlers: how often bots like GPTBot or ClaudeBot visit (see robots.txt).
- Errors: 404s and 500s that real users and bots hit (see 404 errors).
- Attacks: repeated requests for
wp-login.php,.envor other sensitive paths. - Heavy files: what consumes bandwidth.
Tools
- Statistics tools in your hosting panel (such as AWStats or similar).
- Command-line basics:
grep,awk,sort,uniq. - Log analysers and SEO crawlers with log file analysis.
- CDN analytics if you use a CDN (see CDN explained).
# Top 10 URLs returning 404
grep '" 404 ' access.log | awk '{print $7}' | sort | uniq -c | sort -rn | headFrequently asked questions
Where do I find my access logs?
In your hosting control panel (often under Logs or Statistics) or on the server, typically in a logs directory. Some hosts keep them only for a few days.
Are log statistics more accurate than analytics?
They count everything, including bots, so totals are higher. Analytics with consent counts fewer people. Both are useful for different questions.