custom log

Mark Albia's Avatar

Mark Albia

07 Mar, 2016 03:59 PM

Hello,
How to parse a custom log ?

sample:

127.0.0.1 XX uid=12 [21/Feb/2016:17:19:13 +0000] "GET /page123 HTTP/1.0" 200 29985 "https://www.blabla.com/page1.html" "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.124 Safari/537.36"

  1. Support Staff 1 Posted by potsky on 06 Apr, 2016 06:47 AM

    potsky's Avatar

    Hi !

    Sorry I am a little bit swamped these days...

    You can generate your own regex with the debugger tool. More informations available here : http://pimpmylog.com/developer/debug.html

    Once you have the correct configuration block from the debugger, just copy/paste in your configuration file and it's ok.

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