in reply to Re: Bot vs human User Agent strings
in thread Bot vs human User Agent strings

You can configure the webserver only to log requests from user agents you are interested in

Oh yes - I'd overlooked doing this in Apache. Thanks for the suggestion.

My first thought is that I'd still rather record the information in a DB table, as we want to be able to query it. A DB query will be much easier than parsing the Apache logs.

Replies are listed 'Best First'.
Re^3: Bot vs human User Agent strings
by hippo (Archbishop) on Feb 09, 2024 at 23:06 UTC

    Sure, but once you have the data in whatever form it shouldn't be too hard to import it into the DB of your choice. Remember that you can also set Apache to log to a pipe so you could load it into a DB without going to the local filesystem in the first place. Lots of options. :-)


    🦛