regex log path

alabard's Avatar

alabard

25 Aug, 2017 09:40 PM

ciao!
how are you?
i have 20 sites and all have it's own log.
Is there a path regex that includes all logs or I have to add in all logs by hand?
Thanks for replying.
Thanks a have day,
Patrik

  1. 1 Posted by alabard on 25 Aug, 2017 09:44 PM

    alabard's Avatar

    i created 2 access_log, it own web site and it adds to all sites as well. but i dont like it, like i want to not include stats.patrikx3.com, since that is my pimp my log, and i see that all the time, so i can't see my own others which are important.

  2. 2 Posted by alabard on 25 Aug, 2017 09:49 PM

    alabard's Avatar

    as well, i added

    "exclude": {
                        "URL": ["\/favicon.ico\/","\/stats.patrikx3.com", "\/\.pml\.php\.*$\/"],
                        "CMD": ["\/OPTIONS\/"]
                    }
    
    but it still shows stats.patrikx3.com logs.
  3. Support Staff 3 Posted by potsky on 26 Aug, 2017 09:31 AM

    potsky's Avatar

    Hi,

    this is an array of regex so you should write :

    "exclude": {
                        "URL": ["\/favicon.ico\/","\/stats\.patrikx3\.com\/", "\/\.pml\.php\.*$\/"],
                        "CMD": ["\/OPTIONS\/"]
                    }
    
  4. 4 Posted by alabard on 26 Aug, 2017 04:54 PM

    alabard's Avatar

    ok, that works, thanks so much!

  5. potsky closed this discussion on 26 Aug, 2017 07:00 PM.

Comments are currently closed for this discussion. You can start a new one.

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