Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Log analysis

Discussion in 'General Discussion' started by a24uall, Sep 18, 2010.

  1. a24uall

    a24uall Active Member

    Joined:
    Feb 4, 2010
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    51
    Location:
    India
    Hai all
    Can anyone help me in viewing logs in a manner that I can exclude all logs entries that has the something like say for eg "127.0.0.1" in that?
    Wt am i trying to do is to view logs like :
    tail -100 /usr/local/cpanel/logs/access_log
    but it contains a lot of entries like
    127.0.0.1 - - [09/18/2010:16:47:56 -0000] "POST /.__cpanel__service__check__./serviceauth HT

    i just need modify the above command in such a way that it wont show any lines that has entry "127.0.0.1" in that
    Possible ?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice