Python script to grep squid logs

Discussion in 'Python' started by Zlatko Hristov, Apr 14, 2004.

  1. Hello guys,

    I am a newby python user, I want to create a script which will go
    through the squid log file and return me all the URL's accessed(i.e
    www.bbc.com). Is RE the way to go?

    Thank you,

    Regards,

    Zlatko.
     
    Zlatko Hristov, Apr 14, 2004
    #1
    1. Advertisements

  2. Zlatko Hristov

    Lee Harr Guest

    > I am a newby python user, I want to create a script which will go
    > through the squid log file and return me all the URL's accessed(i.e
    > www.bbc.com). Is RE the way to go?
    >



    Not sure if this is just a programming exercise, or if you
    want to get some work done... in any case you might want to
    look at these:

    http://www.squid-cache.org/Scripts/
    http://www.mnot.net/squij/
     
    Lee Harr, Apr 15, 2004
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    0
    Views:
    661
  2. Eddie Butcher

    Zope, Squid and manage_workspace

    Eddie Butcher, Jun 11, 2004, in forum: Python
    Replies:
    0
    Views:
    400
    Eddie Butcher
    Jun 11, 2004
  3. CptDondo

    OT: squid-type cache for XML?

    CptDondo, Nov 14, 2006, in forum: HTML
    Replies:
    4
    Views:
    851
    Toby Inkster
    Nov 14, 2006
  4. s88

    hashtable...squid

    s88, May 31, 2005, in forum: C Programming
    Replies:
    1
    Views:
    479
    Jack Klein
    May 31, 2005
  5. jack trades
    Replies:
    7
    Views:
    590
    jack trades
    Feb 8, 2008
  6. pantagruel
    Replies:
    1
    Views:
    882
    pantagruel
    Mar 10, 2008
  7. Larry Hale
    Replies:
    6
    Views:
    616
    Danilo
    Aug 21, 2008
  8. BerkHolz, Steven

    Squid perl and LDAP Groups

    BerkHolz, Steven, Aug 16, 2004, in forum: Perl Misc
    Replies:
    0
    Views:
    197
    BerkHolz, Steven
    Aug 16, 2004
Loading...