[squid-users] logformat codes

From: Brendan Kearney <bpk678_at_gmail.com>
Date: Wed, 04 Dec 2013 19:41:22 -0500

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?

thanks,

brendan
Received on Thu Dec 05 2013 - 00:41:32 MST

This archive was generated by hypermail 2.2.0 : Mon Dec 09 2013 - 12:00:05 MST