> ## Documentation Index
> Fetch the complete documentation index at: https://docs.honeycomb.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Filter HTTP Status

<Badge className="hny-badge-enterprise-addon" stroke>Ent+</Badge>

<Note>
  This feature is available as an add-on for the [Honeycomb Enterprise plan](https://www.honeycomb.io/pricing/).
  Please contact your Honeycomb account team for details.
</Note>

## Description

The HTTP Status processor can be used to filter out logs that contain a status code between a minimum and a maximum status code.

## Supported Types

| Metrics | Logs | Traces |
| :------ | :--- | :----- |
|         | ✓    |        |

## Configuration Table

| Parameter | Type   | Default | Description                                                                     |
| :-------- | :----- | :------ | :------------------------------------------------------------------------------ |
| minimum   | `enum` | `100`   | Minimum Status to match. Log entries with lower status codes will be filtered.  |
| maximum   | `enum` | `599`   | Maximum Status to match. Log entries with higher status codes will be filtered. |

Valid Minimum Status Codes:

* 100
* 200
* 300
* 400
* 500

Valid Maximum Status Codes:

* 199
* 299
* 399
* 499
* 599

## Example Configuration

Filter out all 1xx status codes and 2xx status codes.

### Web Interface

<img src="https://mintcdn.com/honeycomb/ibXJI2unoLZRp0G4/_assets/images/htp/xnapper-filter-http-status.png?fit=max&auto=format&n=ibXJI2unoLZRp0G4&q=85&s=f5b0a358b4413ac432b3ee8f202b35d8" alt="Honeycomb Docs - Filter HTTP Status - image 1" width="1950" height="1912" data-path="_assets/images/htp/xnapper-filter-http-status.png" />

### Standalone Processor

```yaml theme={}
apiVersion: bindplane.observiq.com/v1
kind: Processor
metadata:
  id: http-status
  name: http-status
spec:
  type: filter_http_status
  parameters:
    - name: maximum
      value: 599
    - name: minimum
      value: 300
```

### Configuration with Embedded Processor

```yaml theme={}
apiVersion: bindplane.observiq.com/v1
kind: Configuration
metadata:
  id: http-status
  name: http-status
  labels:
    platform: linux
spec:
  sources:
    - type: journald
      parameters:
        - name: units
          value: []
        - name: directory
          value: ''
        - name: priority
          value: info
        - name: start_at
          value: end
      processors:
        - type: filter_http_status
          parameters:
            - name: maximum
              value: 599
            - name: minimum
              value: 300
  selector:
    matchLabels:
      configuration: http-status
```
