HttpWatch Help Version 15.x
Using HttpWatch / Using the Filter
In This Topic
    Using the Filter
    In This Topic

    The filter can be used to prevent certain HTTP requests, such as images or style sheets, being added to the log. The filter icon on the toolbar changes to indicate whether filtering is enabled:

    Filtering Off - All HTTP requests will be logged and recorded by HttpWatch

    Filtering On - Only HTTP requests that match the filtering conditions will be recorded

    The following filtering controls are available:

    Enable Filtering

    This check box is used to quickly enable and disable filtering. If you disable filtering, your filter conditions are saved and can be quickly re-applied by re-enabling the filter.

    Conditions

    Content is:

    Select one or more of the list content types to be logged in HttpWatch

    Result is:

    Select one or more of the values that can appear in the Result column of the HttpWatch log.

    URL contains:

    Enter one or more sub strings to match against the URL.

    Request headers contain:

    Enter one or more sub strings to match against the request headers.

    Response headers contain:

    Enter one or more sub strings to match against the response headers.

    Content contains:

    Enter one or more sub strings to match against the returned content. For example, entering '<table' would log HTTP responses that contained HTML table tags.

    You can enter multiple sub strings into the URL, Headers and Content fields by separating the values with the | character (vertical bar). For example entering 'google.com|fonts/' in the URL field would match against any URL that contained 'google.com' or 'fonts/'.

    Filter Options

    Action to perform on filtered items

    Three different actions can be performed using the filter:

    • Hide - items that do not match the filter criteria are hidden but not lost. They can be displayed again at any time by turning off the filter.

    • Highlight - items matching the filter criteria are shown in bold. You can go from one highlighted item to the next by using the 'Next Highlight' and 'Previous Highlight' items on the filter menu (or by using Ctrl + Up Arrow or Ctrl+ Down Arrow )

    • Discard - items that do not match the filter criteria are discarded and cannot be retrieved at a later time.

    For each of these options, the filter can be inverted by changing the Match/Don't Match radio buttons (see below)

    Apply filter action to items that Match / Don't Match

    You can control the behavior of the filter by specifying whether the filtering action (i.e. Hide, Highlight or Discard) should be applied to items that match or do not match the filter conditions. The filter is effectively inverted by changing the value of Match / Don't Match.

    Combine conditions using And/Or

    These radio buttons control what happens if you have selected more than one filter condition. Selecting AND means that all conditions must be met for a request to be logged, whereas selecting OR means that any of the conditions can cause a request to be logged.

    Reset

    If you need to clear all the settings in the filter dialog you can do this using the Reset button. The cleared filter will only be saved if you then click on OK.