GEO Logs Command: AI Crawler Activity
geo logs
Section titled “geo logs”Analyze server access logs for AI crawler activity.
geo logs --file /var/log/nginx/access.loggeo logs --file access.log --format jsonOptions
Section titled “Options”| Option | Default | Description |
|---|---|---|
--file |
required | Path to server access log |
--format |
text | Output format: text or json |
Supported log formats
Section titled “Supported log formats”- Apache/Nginx combined — standard
combinedlog format - JSON lines — CloudFront, Vercel, custom (fields:
user_agent,path,timestamp)
Bot detection
Section titled “Bot detection”Uses the AI_BOTS registry (27 bots). Case-insensitive User-Agent matching.
Python API
Section titled “Python API”from geo_optimizer.core.log_analyzer import analyze_log_file
result = analyze_log_file("/var/log/nginx/access.log")