Nginx Problem No log has been found.

alex.benza's Avatar

alex.benza

17 Mar, 2016 06:43 AM

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!

  1. Support Staff 1 Posted by potsky on 18 Mar, 2016 01:47 PM

    potsky's Avatar

    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. 2 Posted by alex.benza on 18 Mar, 2016 01:50 PM

    alex.benza's Avatar

    here you go

  3. Support Staff 3 Posted by potsky on 18 Mar, 2016 04:42 PM

    potsky's Avatar

    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. 4 Posted by alex.benza on 21 Mar, 2016 06:04 AM

    alex.benza's Avatar

    could you please give me the line, thank you!

  5. 5 Posted by adryenutzaa on 18 May, 2017 11:30 PM

    adryenutzaa's Avatar

    Hello! what is the regex for unreadable lines? i have the same problem and i dont know how to solve it. please help

  6. 6 Posted by adryenutzaa on 19 May, 2017 12:01 AM

    adryenutzaa's Avatar

    or please teach me how to create the regex

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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