> For the complete documentation index, see [llms.txt](https://docs.bindplane.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bindplane.com/integrations/processors/filter-http-status.md).

# Filter HTTP Status

### 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

<table><thead><tr><th width="108.66796875">Parameter</th><th width="90.453125">Type</th><th width="80.375">Default</th><th>Description</th></tr></thead><tbody><tr><td>minimum</td><td><code>enum</code></td><td><code>100</code></td><td>Minimum Status to match. Log entries with lower status codes will be filtered.</td></tr><tr><td>maximum</td><td><code>enum</code></td><td><code>599</code></td><td>Maximum Status to match. Log entries with higher status codes will be filtered.</td></tr></tbody></table>

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**

<figure><img src="/files/mb0vliW2612Q0UJRDA6u" alt="Bindplane docs - Filter HTTP Status - image 1"><figcaption></figcaption></figure>

**Standalone Processor**

```yaml
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
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
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.bindplane.com/integrations/processors/filter-http-status.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
