LogFormat

The following table lists the LogFormat specifications.

Field Allowed Inputs
<Name = "valid_format_name"/> Required. Valid format names include any name except squid, common, extended, or extended2, which are predefined formats. There is no default for this tag.
<Format = "valid_format_specification"/>

Required. A valid format specification is a printf-style string describing each log entry when formatted for ASCII output. Use “%<field>” as placeholders for valid field names. For more information, see Custom logging fields. The specified field can be of two types:

Simple: for example, %<cqu>

A field within a container, such as an HTTP header or a Content Gateway statistic. Fields of this type have the following syntax:

%<{field}container>

<Interval = "aggregate_interval_secs"/>

Use this tag when the format contains aggregate operators. The value “aggregate_interval_secs” represents the number of seconds between individual aggregate values being produced. The valid set of aggregate operators are:

  • COUNT
  • SUM
  • AVG
  • FIRST
  • LAST