Squid log format

From Wikitech
(Difference between revisions)
Jump to: navigation, search
(New page: $hostname %sn %ts.%03tu %tr %>a %Ss/%03Hs %<st %rm %ru %Sh/%<A %mt %{Referer}h %{X-Forwarded-For}h %{User-Agent}h Field indexes when space-separated: # Hostname of the squid # Sequence n...)
 
m
Line 1: Line 1:
$hostname %sn %ts.%03tu %tr %>a %Ss/%03Hs %<st %rm %ru %Sh/%<A %mt %{Referer}h %{X-Forwarded-For}h %{User-Agent}h
+
$hostname %sn %ts.%03tu %tr %>a %Ss/%03Hs %<st %rm %ru %Sh/%<A %mt %{Referer}>h %{X-Forwarded-For}>h %{User-Agent}>h
  
 
Field indexes when space-separated:
 
Field indexes when space-separated:

Revision as of 23:00, 21 January 2007

$hostname %sn %ts.%03tu %tr %>a %Ss/%03Hs %<st %rm %ru %Sh/%<A %mt %{Referer}>h %{X-Forwarded-For}>h %{User-Agent}>h

Field indexes when space-separated:

  1. Hostname of the squid
  2. Sequence number
  3. Seconds (and milliseconds) since epoch
  4. Request service time in ms
  5. Client IP
  6. Squid request status, HTTP status code
  7. Reply size including HTTP headers
  8. Request method (GET/POST etc)
  9. URL
  10. Squid hierarchy status, peer IP
  11. MIME content type
  12. Referer header
  13. X-Forwarded-For header
  14. User-Agent header
Personal tools
Namespaces

Variants
Actions
Navigation
Ops documentation
Wiki
Toolbox