Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ngxtop work with buffered access_log ? #30

Closed
centminmod opened this issue Apr 7, 2014 · 2 comments
Closed

ngxtop work with buffered access_log ? #30

centminmod opened this issue Apr 7, 2014 · 2 comments

Comments

@centminmod
Copy link

Hi I am playing around with ngxtop for my Centmin Mod Nginx project https://gist.github.com/centminmod/d613128cdb9eed86c9ec and was wondering do ngxtop live stats work with buffered access_log files ?

I can not see any live stats but when i use --no-follow i do see previously logged data

thanks

@lebinh
Copy link
Owner

lebinh commented Apr 9, 2014

Ngxtop parse your access log for metrics, so if your log is buffered then it can only parse them after the log has been flushed to disk, which mean there will be delay for stats. That delay depends on how frequents the buffer is filled up, so you can either shrink the buffer size or disable it if you want real-time data.

@lebinh lebinh closed this as completed Apr 9, 2014
@centminmod
Copy link
Author

@lebinh thanks for the explanation :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants