Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Duplicate Requests for statistics

$
0
0
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?

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>