What AI Crawler Visits in Server Logs Tell a Defense Firm
Most defense firms decide which AI crawlers to allow and then never look again. The robots.txt file gets updated, someone confirms that GPTBot or PerplexityBot is not blocked, and the matter is closed. But the server keeps a record of every visit those crawlers make, and that record says a lot about how AI tools see your site.
Server logs are dull to read and easy to ignore. They are also the only place you can see, page by page, what an AI company's crawler actually fetched. This article covers what to look for in those logs and how a defense firm can turn them into decisions about its charge pages.
Where the logs live
Every web host keeps access logs, though they are not always easy to reach. On a managed WordPress host you may find them in the control panel or need to ask support for a download. Sites behind a service such as Cloudflare can see bot traffic in that service's dashboard, sometimes with crawlers already labeled. Static hosts vary, and some only keep logs on paid plans.
Each line of an access log records a single request: the time, the page requested, the status code returned and a user agent string naming the software that asked. That last field is what lets you pick out AI crawlers. OpenAI documents separate agents for different jobs, including GPTBot for gathering training data, OAI-SearchBot for its search features and ChatGPT-User for fetches made while a person is using ChatGPT. Anthropic, Perplexity and others publish their own names. Check each company's current documentation, since these lists change.
User agent strings can be faked. If a visit claims to be an AI crawler but behaves oddly, compare the IP address against the ranges the company publishes before you trust it.
What a crawl pattern tells you
Once you filter the log to AI crawlers, sort the requests by page. A few patterns tend to show up.
Some pages get fetched often. These are usually your home page, your main practice area pages and anything linked heavily from your navigation. If your DUI page is visited every few days and your drug possession page has not been touched in two months, that tells you something about how easy each one is to find.
Some pages never appear. A charge page that no AI crawler has requested cannot be used in an answer built from a fresh crawl. The usual causes are weak internal linking, a page left out of the sitemap or a page that only loads its text through JavaScript.
Some requests fail. Look at status codes. A run of 403 responses to a crawler you meant to allow points to a firewall or security plugin blocking it. A pile of 404s suggests the crawler is following old links to pages you removed. Neither shows up in Google Search Console, because Search Console only reports on Google's own crawler.
Separating training crawls from live fetches
Not every AI visit means the same thing. A training crawler gathering pages in bulk is a long-term signal at best. A fetch made while someone is asking ChatGPT or Perplexity a question is much closer to a real person looking for a lawyer.
If your logs show user-triggered fetches on a specific charge page, a person somewhere was likely asking about that charge and the assistant went to read your page. Those visits are worth tracking month to month. A rise in live fetches on your juvenile defense page, for instance, may say more about interest in that page than any rank tracker.
If you want a quick check of whether crawlers can reach your site at all before digging into logs, this guide on checking whether AI crawlers can reach your defense firm site covers the basic tests.
Turning the log into a short report
You do not need special software. A spreadsheet works for a small firm. Once a month, pull the log, filter to known AI user agents and build a table with these columns:
- Page URL
- Crawler name
- Number of requests that month
- Most common status code
- Date of last visit
Then compare it with the list of charge pages you most want to be named for. Any priority page with zero visits or repeated errors goes on the fix list. Any page that gets heavy crawler attention but contains outdated information goes on the update list, because that is the version AI tools are reading.
What logs cannot tell you
Logs show that a crawler fetched a page. They do not show whether the page was used in an answer, quoted or credited. For that you still need to ask the assistants directly and see what they say about your firm. Logs also say nothing about crawlers that read your content through a third party, such as a legal directory that copied your bio.
Treat the log as one input among several. It is good at telling you what is reachable and what is being read. It is poor at telling you what is being recommended.
The defense marketing data library has more guides on reading the numbers behind a defense firm's website.
Questions about AI crawlers in server logs
How often should a defense firm check its logs for AI crawlers?
Monthly is enough for most firms. Check sooner after a site redesign, a hosting change or a new security plugin, since those are the moments when crawlers most often get blocked by accident.
Do I need to allow every AI crawler I find?
No. Some firms block training crawlers and allow search and user-triggered ones. That choice depends on how you feel about your content being used for model training. Whatever you decide, check the logs afterward to confirm the rules work the way you intended.
Can a crawler visit a page that is blocked in robots.txt?
A well-behaved crawler will not, but robots.txt is a request, not a lock. If your logs show a named crawler fetching blocked pages, check whether the visit really came from that company by matching its IP address against their published ranges.
SBD Marketing works only with criminal defense law firms, one firm per city. It builds websites for defense practices and helps with SEO for the charges they defend, visibility in AI search tools and SEO audits.