Hello I would like to count visits. I use Jetty 11, my logs are in combined log format (I guess from a line produced by a silly script kiddy): 209.141.54.8 - - [10/Aug/2021:05:40:17 +0000] "POST /boaform/admin/formLogin HTTP/1.1" 404 451 "http://80.13.94.99:80/admin/login.asp" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.0"
I can't use GoAccess because it counts hits but it doesn't count visits. I can't use AWStats because it seems to count only the visits on the pages, not the direct visits of image files for example. I can't use Matomo because it requires PHP (I don't want to install PHP only to use a single program). I would like to know whether a request has been caused by a previous request. For example, imagine that index.html refers to img.png. When I go to index.html, it will cause at least 2 hits. I would like to be able to count as a single visit for those two hits and I would like to count as another visit a hit on this image when this hit is caused by another page (coming from a search engine). Is it doable without having to parse the HTML file to determine whether it refers to an image? Maybe I can override RequestLog to do that: https://www.eclipse.org/jetty/javadoc/jetty-11/org/eclipse/jetty/server/RequestLog.html Best regards. _______________________________________________ jetty-users mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jetty-users
