Delete Attribute

Delete Log Record Attribute Processor

The Delete Log Record Attribute processor can be used to remove attributes from all
log records in the pipeline.

Supported Types

MetricsLogsTraces

Configuration Table

ParameterTypeDefaultDescription
attributesstringsrequiredOne or more attribute names to remove from all log records.

Example Configuration

Remove the following attributes:

  • environment
  • location

Web Interface

delete_attribute

Standalone Processor

apiVersion: bindplane.observiq.com/v1
kind: Processor
metadata:
  id: delete-attributes
  name: delete-attributes
spec:
  type: delete_attribute
  parameters:
    - name: attributes
      value:
        - environment
        - location

Configuration with Embedded Processor

apiVersion: bindplane.observiq.com/v1
kind: Configuration
metadata:
  id: delete-attribute
  name: delete-attribute
  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: delete_attribute
          parameters:
            - name: attributes
              value:
                - environment
                - location
  selector:
    matchLabels:
      configuration: delete-attribute