Welcome! Log In Create A New Profile

Advanced

Calculating requests per second, per IP address

Rejaine Monteiro
December 29, 2023 07:56AM
Hi all,

I´m running Nginx community edition and need to implement rate limiting

There's plenty of guides out there on how to do this, but no guides on how
to get real values/stats from the access logs


What I need to get from the NGINX access logs is:

- Requests per minute, per IP address

- Average requests per minute, derived from all IP addresses

- Max requests per minute, per IP address

We have a few endpoints with different functionalities and we simply cannot
have a common rule that works for everyone.

Any tips on a tool or script that could help generate this type of
information (if possible in real time or collect this data for future
analysis)?


I appreciate any tips.

--
*Esta mensagem pode conter informações confidenciais ou privilegiadas,
sendo seu sigilo protegido por lei. Se você não for o destinatário ou a
pessoa autorizada a receber esta mensagem, não pode usar, copiar ou
divulgar as informações nela contidas ou tomar qualquer ação baseada nessas
informações. Se você recebeu esta mensagem por engano, por favor avise
imediatamente ao remetente, respondendo o e-mail e em seguida apague-o.
Agradecemos sua cooperação.*
_______________________________________________
nginx mailing list
nginx@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Calculating requests per second, per IP address

Rejaine Monteiro December 29, 2023 07:56AM

Re: Calculating requests per second, per IP address

Maxim Dounin December 29, 2023 09:08AM

Re: Calculating requests per second, per IP address

Rejaine Monteiro December 29, 2023 10:36AM

Re: Calculating requests per second, per IP address

J Carter January 01, 2024 06:00AM

Re: Calculating requests per second, per IP address

jeremy ardley via nginx January 01, 2024 10:26PM

Re: Calculating requests per second, per IP address

Rejaine Monteiro January 02, 2024 09:02AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 309
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready