Comments (4)
Added in v1.1.25
from goaccess-for-nginxproxymanager.
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.
@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.
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)
- Panels menu becomes inaccessible in vertical monitors HOT 1
- Dashboard settings: date interval HOT 1
- If using boolean don't work SKIP_ARCHIVED_LOGS HOT 2
- A way to change the title of the statistic page
- Realtime dashboard with log access of NGINX as a backend server HOT 1
- No reading logs after v1.1.13 HOT 11
- missing 1st letter of DATA in REQUESTED FILES (URLS) on error page HOT 3
- Goaccess stops at loading 208 HOT 15
- Stop working on parse errors HOT 3
- Native installation of goaccess for npm HOT 9
- Docker stuck on RUN TRAEFIK GOACCESS HOT 22
- [Feature Request] Add env variable to enable Goaccess Browser List & env variable to define list of custom browsers HOT 3
- A New LOG_TYPE: `NPM_SEPARATED` (or maybe `NPM_SPLIT`) HOT 5
- Allow custom log format to be set through environmental variables HOT 1
- Error processing fallback_error.log HOT 2
- Improve Traefik log format by supporting Virtual Hosts HOT 1
- No archived logs found at /opt/log HOT 4
- High CPU usage
- Adding Virtual Hosts to NPM parsing HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from goaccess-for-nginxproxymanager.