Welcome to Centmin Mod Community
Register Now

Featured Nginx ngxtop real time metrics for Nginx

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by eva2000, Jun 5, 2014.

  1. negative

    negative Active Member

    415
    50
    28
    Apr 11, 2015
    Ratings:
    +98
    Local Time:
    3:45 AM
    1.9.10
    10.1.11
    Yes it is, bingo:)
    I don't wan to use multiple access logs so i prefer amplify now :) Thanks.

     
  2. eva2000

    eva2000 Administrator Staff Member

    53,808
    12,159
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,710
    Local Time:
    11:45 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  3. eva2000

    eva2000 Administrator Staff Member

    53,808
    12,159
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,710
    Local Time:
    11:45 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    hmm looks like ngxtop hasn't been updated since Feb 2015 lebinh/ngxtop !
     
  4. negative

    negative Active Member

    415
    50
    28
    Apr 11, 2015
    Ratings:
    +98
    Local Time:
    3:45 AM
    1.9.10
    10.1.11
    I've no issue about logging
    Code (Text):
    66.249.65.89 - - [25/Oct/2018:17:14:09 +0300] "GET /forum/thread/thread-title.245979/ HTTP/1.1" 200 46293 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" "66.249.65.89" rt=0.100 ua="127.0.0.1:9000" us="200" ut="0.100" ul="46333" cs=MISS
     
  5. negative

    negative Active Member

    415
    50
    28
    Apr 11, 2015
    Ratings:
    +98
    Local Time:
    3:45 AM
    1.9.10
    10.1.11
    end of life for ngxtop so :)
     
  6. eva2000

    eva2000 Administrator Staff Member

    53,808
    12,159
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,710
    Local Time:
    11:45 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    problem isn't logging it's ngxtop can't read non-standard log formats which nginx amplify suggested format you switched to
     
  7. eva2000

    eva2000 Administrator Staff Member

    53,808
    12,159
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,710
    Local Time:
    11:45 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    probably, author of ngxtop works for cloudflare probably busy man · GitHub
     
  8. negative

    negative Active Member

    415
    50
    28
    Apr 11, 2015
    Ratings:
    +98
    Local Time:
    3:45 AM
    1.9.10
    10.1.11
    Access.log is okay and i'm checking something with awk command without problem.
    For example, i can show top user agents with this command
    awk -F"\"" '{print $6}' access.log | sort | uniq -dc | sort -nr | head -20

    But ngxtop no result. Because ngxtop EOL

    So what is the awk command for like most called url, top referrer ip