HttpWatch Help Version 11.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.


    Content is:

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

    text/html Normal html based content
    text/css Cascading style sheets
    text/xml XML data, e.g. SOAP requests and responses
    text/* Any textual content type including all the above types
    image/gif GIF image
    image/jpg JPEG image
    image/* Any image including GIF, JPEG and PNG files
    application/x-javascript Javascript
    application/* Any application content, e.g. flash files (application/x-shockwave-flash)

    Result is:

    Select one or more of the following values that appear in the Result column of the HttpWatch log:

    200 OK/Success status code
    302 Moved temporarily status code
    304 Not modified status code
    401 Access denied status code
    404 Page or file not found
    (Aborted) The browser aborted the HTTP request before a response was received
    (Cache) Content read from cache without sending an HTTP request to the server
    ERROR_* An error occurred such as ERROR_INTERNET_NAME_NOT_RESOLVED
    2xx Successful HTTP status code
    3xx Redirection HTTP status code
    4xx Client error HTTP status code
    5xx Server error HTTP status code

    URL contains:

    Enter a sub string to match against the URL.

    Request headers contain:

    Enter a sub string to match against the request headers.

    Response headers contain:

    Enter a sub string to match against the response headers.

    Content contains:

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

    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.


    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.