Giter Club home page Giter Club logo

Comments (5)

joshnabbott avatar joshnabbott commented on June 11, 2024 1

Also, I think this issue wants the same thing as this one

from ngxtop.

zjd921692097 avatar zjd921692097 commented on June 11, 2024 1

how to solve this problem?

from ngxtop.

shaun-ba avatar shaun-ba commented on June 11, 2024

same, getting no requests coming in, thought it may be log format but docs don't even explain how to correctly structure this parameter.

from ngxtop.

joshnabbott avatar joshnabbott commented on June 11, 2024

@shaun-ba This was happening to me too and my nginx config is using a custom log format, which turned out to be the issue. Check your nginx.conf file to see if you're doing the same (grep for log_format in the config directory) and if so, just pass ngxtop the config format and it works:

ngxtop -f '$remote_addr - $remote_user [$time_iso8601] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent" "$http_x_forwarded_for" "$host"' -l /path/to/access.log

from ngxtop.

chusiang avatar chusiang commented on June 11, 2024

I have same problem on Nginx v1.18.0 x Ubuntu 20.04 .

user@ubuntu2004:~$ nginx -v
nginx version: nginx/1.18.0 (Ubuntu)

from ngxtop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.