lebinh / ngxtop

Real-time metrics for nginx server
MIT License
6.49k stars 473 forks source link

Ngxtop overwrite "top" or clear acces file #91

Open pawelbula opened 6 years ago

pawelbula commented 6 years ago

My ngxtop works fine, but the problem is that data wasn't overwrited on real-time, as going update, i.e. ngxtop show remote_addr, but when connection make stopped it still show disconnected address. My question is if I could resolve that problem in config or in source? I poorly understand code in python, but maybe someone could help me add to source code script which going to clear access log after time, if there isn't in config now.