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

Goaccess stops parsing after one second #2756

Open
norbertrostaing opened this issue Nov 9, 2024 · 3 comments
Open

Goaccess stops parsing after one second #2756

norbertrostaing opened this issue Nov 9, 2024 · 3 comments

Comments

@norbertrostaing
Copy link

Hello
I used go access 1.8.1 on my log file to generate an HTML file and it worked great
Since I updated on 1.9.3, I run my parsing with goaccess access.log -o stats.html, goaccess runs for one second and then stops.
I have only 3 days of logs (the first three days of the file)

when using the --debug-file option, my debug file contains only "Bye."

I am probably doing something wrong, can you help me on this ?

my conf file contains :

log-format %h %^[%d:%t %^] "%r" %s %b "%R" "%u"
date-format %d/%b/%Y
time-format %H:%M:%S

and here is some samples of my log file

54.144.185.255 - - [11/Oct/2024:22:56:49 +0000] "GET /fixtures/mochis/Ablelite/Beam%20620/?C=M;O%3DA HTTP/1.1" 200 3168 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/600.2.5 (KHTML, like Gecko) Version/8.0.2 Safari/600.2.5 (Amazonbot/0.1; +https://developer.amazon.com/support/amazonbot)"
23.21.250.48 - - [11/Oct/2024:22:56:53 +0000] "GET /fixtures/mochis/Ablelite/Beam%20620/?C=M;O%3DD HTTP/1.1" 200 3168 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/600.2.5 (KHTML, like Gecko) Version/8.0.2 Safari/600.2.5 (Amazonbot/0.1; +https://developer.amazon.com/support/amazonbot)"
3.89.170.186 - - [11/Oct/2024:22:56:58 +0000] "GET /fixtures/mochis/Ablelite/Beam%20620/?C=N;O%3DD HTTP/1.1" 200 3169 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/600.2.5 (KHTML, like Gecko) Version/8.0.2 Safari/600.2.5 (Amazonbot/0.1; +https://developer.amazon.com/support/amazonbot)"
107.20.25.33 - - [11/Oct/2024:22:57:01 +0000] "GET /fixtures/mochis/Ablelite/EVA%20150S/?C=D;O%3DA HTTP/1.1" 200 3154 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/600.2.5 (KHTML, like Gecko) Version/8.0.2 Safari/600.2.5 (Amazonbot/0.1; +https://developer.amazon.com/support/amazonbot)"
54.225.181.161 - - [11/Oct/2024:22:57:05 +0000] "GET /fixtures/mochis/Ablelite/EVA%20150S/?C=D;O%3DD HTTP/1.1" 200 3156 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/600.2.5 (KHTML, like Gecko) Version/8.0.2 Safari/600.2.5 (Amazonbot/0.1; +https://developer.amazon.com/support/amazonbot)"
18.206.47.187 - - [11/Oct/2024:22:57:09 +0000] "GET /fixtures/mochis/Ablelite/EVA%20150S/?C=N;O%3DA HTTP/1.1" 200 3156 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/600.2.5 (KHTML, like Gecko) Version/8.0.2 Safari/600.2.5 (Amazonbot/0.1; +https://developer.amazon.com/support/amazonbot)"
@allinurl
Copy link
Owner

This should work:

# goaccess log --log-format=COMBINED

2024-11-09-180636_559x310_scrot

@norbertrostaing
Copy link
Author

norbertrostaing commented Nov 10, 2024 via email

@allinurl
Copy link
Owner

It seems like there's an issue with your config file. I recommend deleting it and starting from scratch. The screenshot I shared above is from the latest version, v1.9.3. Let me know if that works for you.

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

No branches or pull requests

2 participants