Filter HTTP Status

Note
This feature is available as an add-on for the Honeycomb Enterprise plan. Please contact your Honeycomb account team for details.

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 

Honeycomb Docs - Filter HTTP Status - image 1

Standalone Processor 

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 

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