Welcome! Log In Create A New Profile

Advanced

Duplicate Requests for statistics

Posted by rristow 
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.
Duplicate Requests for statistics
January 06, 2021 07:14PM
I want to make some statistics of the NGINX traffic (server side) with the number of requests, user-agent, referrer, etc...

I want to make this as simple as possible, so I would like to avoid developing a new module.
There is an application outside nginx that will calculate all statistics from request, but the challenge is how to feed this application.

With an upstream, I will redirect the request and the server will not respond in the same way.
There is also an undocumented "post_action" function (https://thecocktail.engineering/replicando-tr%C3%A1fico-con-nginx-d180da214707). It could work well by "duplicating" the request, but I need an official/supported/stable solution.
Any idea?
Re: Duplicate Requests for statistics
January 07, 2021 03:42AM
https://github.com/vozlt/nginx-module-vts

---
nginx for Windows http://nginx-win.ecsds.eu/

Online Users

Guests: 89
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready