<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Marko Savran]]></title><description><![CDATA[Marko Savran]]></description><link>https://markosavran.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Sat, 28 Nov 2026 02:23:20 GMT</lastBuildDate><atom:link href="https://markosavran.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[I knew the visitor count before I ran the log analyzers. None of them matched it.]]></title><description><![CDATA[Same nginx log, five tools, three ideas of what a "visitor" is]]></description><link>https://markosavran.hashnode.dev/i-knew-the-visitor-count-before-i-ran-the-log-analyzers-none-of-them-matched-it</link><guid isPermaLink="true">https://markosavran.hashnode.dev/i-knew-the-visitor-count-before-i-ran-the-log-analyzers-none-of-them-matched-it</guid><category><![CDATA[nginx]]></category><category><![CDATA[analytics]]></category><category><![CDATA[self-hosted]]></category><category><![CDATA[open source]]></category><category><![CDATA[Devops]]></category><dc:creator><![CDATA[Marko Savran]]></dc:creator><pubDate>Fri, 20 Nov 2026 09:12:58 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6aec95fe180e3e2272333a2c/8db0abcb-85ec-47a3-910e-aa3d142511d6.jpg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Most traffic tests have a weak spot. You don't know the real answer, so you can't tell which tool is wrong.</p>
<p>So I built the log myself. One month of nginx traffic, 502,103 lines, with 118,216 of them from bots. Behind it sit exactly 43,231 people, 60,706 visits and 109,351 pageviews.</p>
<p>Then I gave that file to GoAccess, AWStats, Webalizer (Stone Steps), Matomo's log import and lnav.</p>
<p>Here is what they said about unique visitors:</p>
<ul>
<li>AWStats: 49,616</li>
<li>Webalizer: 50,707</li>
<li>Matomo: 66,674</li>
<li>GoAccess with --ignore-crawlers: 67,863</li>
<li>GoAccess, default settings: 105,885</li>
</ul>
<p>Real answer: 43,231.</p>
<p><img src="https://opensource-analytics.com/wp-content/uploads/2026/11/log-analyzers-visitor-counts-card.png" alt="Five visitor counts for the same 43,231 people" /></p>
<h2>Not a bot problem</h2>
<p>I was sure crawlers were the reason. I stripped them out and ran it again. The spread was still 49,576 to 60,209.</p>
<p>The real cause is boring. Each tool counts a different thing.</p>
<p>AWStats and Webalizer treat one address over the month as one visitor. GoAccess uses address plus date plus user agent. Matomo without cookies makes a new visitor for every visit, which is why it shows 66,675 visits and 66,674 visitors.</p>
<h2>What you can trust</h2>
<p>Visits. Every tool was within 1% of the truth. Pageviews were exact or 1.4% over.</p>
<p>So when I compare months now, I look at those two and ignore the visitor line. From a log file it's a configuration choice. It isn't a measurement.</p>
<p>One more thing bothered me. I hid a scraper in the log that pretends to be Chrome 141. 7,285 requests, 6.7% extra pageviews, and not one bot list noticed.</p>
<p>Speed, if you care: Webalizer 3.4 s, lnav 4.5 s, GoAccess 6.1 s, AWStats 19.5 s, Matomo 265 s.</p>
<p>What do you report as "visitors" from your logs, and have you ever checked it against something real?</p>
<p>Full write-up with versions and commands: <a href="https://opensource-analytics.com/access-log-analyzers-compared/">Five access log analyzers, one log</a></p>
]]></content:encoded></item><item><title><![CDATA[What two weeks of nginx logs told me about AI crawlers and fake Googlebots]]></title><description><![CDATA[My analytics dashboard said traffic was quiet. My access log said something very different. I took two weeks of nginx logs from my own site and pulled out…]]></description><link>https://markosavran.hashnode.dev/what-two-weeks-of-nginx-logs-told-me-about-ai-crawlers-and-fake-googlebots</link><guid isPermaLink="true">https://markosavran.hashnode.dev/what-two-weeks-of-nginx-logs-told-me-about-ai-crawlers-and-fake-googlebots</guid><category><![CDATA[nginx]]></category><category><![CDATA[Security]]></category><category><![CDATA[self-hosted]]></category><category><![CDATA[AI]]></category><dc:creator><![CDATA[Marko Savran]]></dc:creator><pubDate>Tue, 17 Nov 2026 09:44:10 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6aec95fe180e3e2272333a2c/cbb1aaf2-8665-490a-acc8-6a536c67398c.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>My analytics dashboard said traffic was quiet. My access log said something very different.</p>
<p>I took two weeks of nginx logs from my own site and pulled out every request from a bot that claimed to be an AI crawler or a search engine. Then I threw away anything I couldn't verify. A request only stayed in the count if its IP belonged to the company that owns the bot.</p>
<h2>How I checked</h2>
<p>OpenAI, Anthropic and Perplexity publish lists of their IP ranges, so those were easy to match. Google, Bing and Apple can be checked with reverse DNS. Meta I matched against its own network ranges.</p>
<p>That took longer than I expected, but it changed the numbers a lot.</p>
<h2>AI bots outread search engines</h2>
<img src="https://opensource-analytics.com/wp-content/uploads/2026/11/ai-crawlers-vs-search-engines-card.png" alt="AI crawlers made almost 3x more requests than search engines" style="display:block;margin:0 auto" />

<p>After verification, AI crawlers made 1,590 requests. All search engines together made 563.</p>
<p>Meta's crawler read my site more often than Googlebot. So did ClaudeBot.</p>
<p>And none of it was in my analytics. Plausible, Umami and Google Analytics all depend on JavaScript running in a browser. These bots don't run it, so they never show up. If you only look at a dashboard, you'd never know they were there.</p>
<h2>A third of the Googlebots weren't Google</h2>
<img src="https://opensource-analytics.com/wp-content/uploads/2026/11/ai-crawlers-fake-googlebot-card.png" alt="1 in 3 Googlebots in my server log was fake" style="display:block;margin:0 auto" />

<p>This was the part I didn't expect.</p>
<p>119 of the 331 requests with a Googlebot user agent came from rented Google Cloud servers. Not from Google's crawler.</p>
<p>Five of those servers used 30 different bot names between them, ChatGPT-User and Claude-User among them. Their pattern was almost polite at first. They fetched the homepage, then robots.txt, then around 15 articles.</p>
<p>Then they started asking for .env files, cloud credentials and .git folders.</p>
<p>In total that was 1,045 requests for secret files. My server answered every one with a 403, so nothing leaked. It still made me go back and check what else the server would hand out if asked.</p>
<h2>Zero visitors from AI tools</h2>
<p>I also looked at referrers. Over the same two weeks, not a single visitor arrived from ChatGPT, Perplexity, Claude or Gemini.</p>
<p>So the AI bots read a lot. They didn't send anyone back.</p>
<h2>What I'd check on your own server</h2>
<p>Run a reverse DNS lookup on anything calling itself Googlebot. A real one resolves to a <a href="http://googlebot.com">googlebot.com</a> or <a href="http://google.com">google.com</a> hostname, and the fakes fall out right away.</p>
<p>Make sure requests for .env, .git and similar paths get a 403. A bot that lies about its name won't care what robots.txt says.</p>
<p>And if you want to know what's actually reading your site, open the access log. The dashboard can't tell you.</p>
<p>Have you seen the same .env probing hiding behind crawler names on your servers?</p>
<p>The full write-up with every chart and the verification method is on my blog: <a href="https://opensource-analytics.com/ai-crawlers-in-access-logs/">AI crawlers in my access logs</a></p>
]]></content:encoded></item></channel></rss>