0

How can I get the average requests per second on an Apache 2.4 server based on the logs?

I'm trying to use k6 to load test a new server, a new cloud provider, with new hardware, but I don't know how to estimate how many users there are today.

Tom
  • 289
  • 3
  • 13
  • 1
    Try with jmeter to make the load test. And use Summary results, graph results to analyze the results – Romeo Ninov Aug 18 '23 at 20:52
  • A "user" can send dozens of hits, and some other users can send several more or just a few, users is generally not a good way to measure unless you have them all authenticating and anonymous hits are not the ones you are after, then you can check the logs or log the users authenticating and filter them out from there. As general statistics though, you can get the amount of hits per second or minute you get, and [mod_status](https://httpd.apache.org/docs/2.4/mod/mod_status.html) gives you that more. – Daniel Ferradal Aug 20 '23 at 21:20

1 Answers1

0

You can use AWStats for apache logs. You can also use Matomo (Piwik) and Google Analytics for create user oriented statistics.

Mircea Vutcovici
  • 17,619
  • 4
  • 56
  • 83