Search squid archive

Re: logformat codes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2013-12-09 at 23:12 +0900, Alan wrote:
> On Thu, Dec 5, 2013 at 9:41 AM, Brendan Kearney <bpk678@xxxxxxxxx> wrote:
> > i am wondering if there is a logformat code that can be used to log the
> > URL (domain.tld or host.domain.tld) independent of the URI
> > (/path/to/file.ext?parameter)?  i am using %ru, which gives me the URL
> > and URI in one string.  %rp seems to be the URI, but i am not using that
> > right now and can only go by what i am reading in the docs.
> >
> > i am looking to log the URL in a separate field from the URI so that in
> > a database of the log entries, the URL can be indexed for better search
> > and reporting performance.  is there an easy way to accomplish this?
> 
> Why don't you use a trigger? That is what I do.

amos, dont spend it all in one place.

alan, while i do see that a trigger could digest the whole string and
parse out the pieces i want, i see this functionality as possibly being
a help to anyone running squid and not running a database.





[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux