The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    1
    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 ?
     
Loading...

Share This Page