LogFilter

The following table lists the LogFilter specifications.

Field Allowed Inputs
<Name = "valid_filter_name"/> Required. All filters must be uniquely named.
<Condition = "valid_log_field valid_ operator valid_comparison_value"/>

Required. This field contains the following elements:

  • valid_log_field is the field that will be compared against the given value. For more information, see Logging format cross-reference.
  • valid_operator_field is any one of the following: MATCH, CASE_ INSENSITIVE_MATCH, CONTAIN, CASE_INSENSITIVE_CONTAIN.

    MATCH is true if the field and value are identical (case sensitive). CASE_ INSENSITIVE_MATCH is similar to MATCH, only case insensitive.

    CONTAIN is true if the field contains the value (the value is a substring of the field). CASE_INSENSITIVE_

    CONTAIN is a case-insensitive version of CONTAIN.

  • valid_comparison_value - any string or integer matching the field type. For integer values, all of the operators are equivalent and mean that the field must be equal to the specified value.
Note: There are no negative comparison operators. If you want to specify a negative condition, use the Action field to REJECT the record.
<Action = "valid_action_field"/> Required. ACCEPT or REJECT. This instructs Content Gateway to either accept or reject records satisfying the condition of the filter.