Nginx Problem No log has been found.
Hello i have a problem.. i can't get nginx access log working , i have this error
no new log found in 1858ms with 1M of logs, 0 skipped line(s), 3674 unreadable line(s).
File /var/log/nginx/localhost.access.log was last modified on 2016/03/17 06:14:38 at UTC, size is 1M, log type is NGINX
The Log format it's like this:
192.168.1.11 - - [04/Mar/2016:09:27:31 +0000] GET /login/ HTTP/1.1 "200" 1067 "-" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36" "-" "3.19" "73" "2" "0.001"
Thank you!
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by potsky on 18 Mar, 2016 01:47 PM
Hi !
Could you send me your configuration file please ? This is the config.user.json or php file at the root of the Pimp My Log install.
2 Posted by alex.benza on 18 Mar, 2016 01:50 PM
here you go
Support Staff 3 Posted by potsky on 18 Mar, 2016 04:42 PM
Ok, the regex used for access logs is not compatible with your nginx log format.
Do you want to know how to build the new regex and do it yourself or do you just want the right line to use ?
4 Posted by alex.benza on 21 Mar, 2016 06:04 AM
could you please give me the line, thank you!
5 Posted by adryenutzaa on 18 May, 2017 11:30 PM
Hello! what is the regex for unreadable lines? i have the same problem and i dont know how to solve it. please help
6 Posted by adryenutzaa on 19 May, 2017 12:01 AM
or please teach me how to create the regex