Server log file analysis for SEO

Analyse server log data to see how search engine bots crawl your site, find crawl waste and orphan pages, and prioritise technical fixes.

Published
Works with
ChatGPT, Claude and Gemini
Level
Advanced
By
GoodAIPromt editorial team

Server logs show what search engine bots actually request, not what a crawler tool guesses. On large sites they reveal crawl waste on parameters and redirects, important pages bots rarely visit, and errors only bots hit. This log file analysis prompt guides you through summarising the data, writing the queries and turning patterns into a prioritised technical SEO plan.

The prompt

Act as a technical SEO specialist experienced in log file analysis. Help me analyse my server logs.

Site: 
Log period and format: 
Tools I can use: 
Summary data or sample rows: 
Known site sections and URL patterns: 
Concerns: 

Give me:
1. Steps to isolate genuine search engine bot hits (user agent plus verification by reverse DNS or published IP ranges).
2. Ready-to-run code or queries for my tools to calculate: hits by section, status codes, top crawled URLs, parameter URLs, crawl frequency for key pages, pages in the sitemap never crawled, and crawled URLs not in the sitemap or site crawl.
3. How to interpret each result and what "bad" looks like.
4. Based on my data, the main crawl waste and missed pages, with fixes (robots rules, internal linking, canonical, parameter handling, redirects).
5. A prioritised action table: issue, evidence, fix, expected effect, effort.
Don't draw conclusions beyond the data I gave; say what extra data would confirm them.

0 of 6 blanks filled

How to use it

  1. Mask or remove IP addresses of real users before pasting any log lines.
  2. Run the queries on the full log set, then paste the aggregated results back for interpretation.
  3. Repeat after fixes to confirm bots shifted to the pages that matter.

Tips

  • Log analysis matters most on sites with many thousands of URLs; small sites rarely have crawl budget issues.
  • Combine log data with a site crawl and Search Console for the full picture.

Frequently asked questions

What does this prompt do?

Analyse server log data to see how search engine bots crawl your site, find crawl waste and orphan pages, and prioritise technical fixes.

Which AI tools does it work with?

It is written for ChatGPT, Claude and Gemini. It also works in other AI tools that accept text prompts, with small changes.

What do I need to fill in?

6 blanks: domain, type, approx number of indexable pages; e.g. 30 days, apache combined / nginx / cdn logs; e.g. python, bigquery, spreadsheet, a log analyser; paste aggregated stats or 20 sample lines with ips masked; e.g. /product/, /category/, ?sort=, /search/; e.g. new pages indexed slowly, traffic drop. Click each blue blank on the page, type your details and press Copy prompt.

Is this prompt free to use?

Yes. You can copy and use it for personal and commercial work.

log file analysiscrawl budgettechnical seogooglebot

More prompts for ChatGPT, Claude, Gemini.