Giter Site home page Giter Site logo

Comments (4)

xavier-hernandez avatar xavier-hernandez commented on June 3, 2024 2

Added in v1.1.25

from goaccess-for-nginxproxymanager.

xavier-hernandez avatar xavier-hernandez commented on June 3, 2024 1

I've added the ability to parse the NGINX access.log file. It's currently only available in the xavierh/goaccess-for-nginxproxymanager:develop tag for now.

LOG_TYPE=NGINX_ACCESS

from goaccess-for-nginxproxymanager.

xavier-hernandez avatar xavier-hernandez commented on June 3, 2024

@ali80 Not plain ones. But I can work on that; I just haven't had time. I don't use straight NGINX. Can you provide some logs for me to use to test?

Also, are your logs in multiple directories?

from goaccess-for-nginxproxymanager.

ali80 avatar ali80 commented on June 3, 2024

the format seems similar, i recently switched back to nginx, my current log folder only has access.log and error.log
here is access.log

192.168.224.1 - - [23/Dec/2023:12:54:14 +0000] "GET / HTTP/1.1" 200 91967 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0"
192.168.224.1 - - [23/Dec/2023:12:54:16 +0000] "GET /favicon.ico HTTP/1.1" 301 5 "http://localhost/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0"
192.168.224.1 - - [23/Dec/2023:12:54:17 +0000] "GET / HTTP/1.1" 200 81790 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0"
192.168.224.1 - - [23/Dec/2023:12:54:18 +0000] "GET /favicon.ico/ HTTP/1.1" 200 91951 "http://localhost/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0"
192.168.224.1 - - [23/Dec/2023:12:54:26 +0000] "GET / HTTP/1.1" 200 91951 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0"
192.168.224.1 - - [23/Dec/2023:12:54:28 +0000] "GET /favicon.ico HTTP/1.1" 301 5 "http://localhost/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0"
192.168.224.1 - - [23/Dec/2023:12:54:29 +0000] "GET /favicon.ico/ HTTP/1.1" 499 0 "http://localhost/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0"
192.168.224.1 - - [23/Dec/2023:12:54:29 +0000] "GET /?page_id=2 HTTP/1.1" 200 64884 "http://localhost/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0"
192.168.224.1 - - [23/Dec/2023:12:54:31 +0000] "GET /favicon.ico HTTP/1.1" 301 5 "http://localhost/?page_id=2" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0"

logs can be in a single directory or multiple ones, easily customizable like this


server {
    listen 80;
    listen [::]:80;

    server_name test.example.com;

    root /var/www/html;
    index index.php;

    access_log /var/log/nginx/access.log;
    error_log /var/log/nginx/error.log;
    .....

from goaccess-for-nginxproxymanager.

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.