---
title: "Discussion on \"What two weeks of nginx logs told me about AI crawlers and fake Googlebots\" | Hashnode"
description: "Discussion on \"What two weeks of nginx logs told me about AI crawlers and fake Googlebots\". My analytics dashboard said traffic was quiet. My access log said something very different.\nI took two weeks of nginx logs from my own site and pulled out every request from a bot that claimed to be a"
url: "https://hashnode.com/posts/what-two-weeks-of-nginx-logs-told-me-about-ai-crawlers-and-fake-googlebots/6afc21ea39ff3ff684f8e5b9"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [What two weeks of nginx logs told me about AI crawlers and fake Googlebots](https://markosavran.hashnode.dev/what-two-weeks-of-nginx-logs-told-me-about-ai-crawlers-and-fake-googlebots?utm_source=hashnode&utm_medium=feed)

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 every request from a bot that claimed to be a

Nov 17 · 3 min read · markosavran.hashnode.dev  
Read the article

-   [#nginx](https://hashnode.com/tag/nginx)
-   [#security](https://hashnode.com/tag/security)
-   [#self-hosted](https://hashnode.com/tag/self-hosted)
-   [#ai](https://hashnode.com/tag/ai)

## Written by

[Marko Savran](https://hashnode.com/@markosavran)

@markosavran · Warsaw, Poland

  
[View profile](https://hashnode.com/@markosavran)

Web analyst and editor of Open Source Analytics. Privacy-friendly, self-hosted web analytics tested on real servers.

Web analyst and editor of Open Source Analytics. More than ten years in SEO and analytics. Writes editorial reviews of privacy-friendly, self-hosted and open-source web analytics for production use.

## Responses 1

Markdown supported · ⌘↵ to post

[Furqan Ashraf](https://hashnode.com/@jfreaks)

[4d ago](https://hashnode.com/posts/what-two-weeks-of-nginx-logs-told-me-about-ai-crawlers-and-fake-googlebots/6afc21ea39ff3ff684f8e5b9/comment/6b0018079f047d00478c5903)

"Five of those servers used 30 bot names between them" is the most telling detail here. Reverse DNS works for the Googlebot claims, but it doesn't help with the ClaudeBot or ChatGPT-User spoofs, and per-vendor range lists drift over time. A quicker way to rerun this analysis is to dedupe the IPs from the log and send them all through one bulk call that tells you, per IP, whether it's a verified crawler and whose cloud it's on:

`awk '{print $1}' access.log | sort -u | jq -R . | jq -s '{ips: .}' > ips.json curl -s -X POST "[api.ipgeolocation.io/v3/security-bulk](https://api.ipgeolocation.io/v3/security-bulk?apiKey=$KEY&fields=security.is_known_good_bot,security.bot_operator_name,security.is_cloud_provider,security.cloud_provider_name)" \   -H 'Content-Type: application/json' -d @ips.json`

Any IP where the user agent claims a crawler but is\_known\_good\_bot is false and cloud\_provider\_name is set is one of your fakes, whichever of the 30 names it used. The [IP security API](https://ipgeolocation.io/ip-security-api.html)takes up to 50k IPs per request, so two weeks of logs is a single call. I'd also like to know whether the .env probing started from the same five IPs or moved to new ones after the 403s.
