Edge Delta Drop JSON Field Filter

Drop specified JSON fields.

Overview

This filter type can filter and drop specified JSON fields from the incoming logs.

Example

filters:
  - name: drop_some_fields
    type: drop-json-fields
    field_paths: 
      - "level"
      - "details"
      - "log.source"

Parameters

name (required)

The name parameter specifies the name for the filter. You refer to this name in other places, for example to refer to a specific filter in a workflow or processor. Names must be unique within the filters: section. It is a yaml list element so it begins with a - and a space followed by the string. A name is a required parameter for a filter

filters:
  - name: <filter-name>

type: drop-json-fields (required)

The type parameter in the filter context specifies the type of filter to apply. A type is a required parameter for a filter.

filters:
  - name: <filter-name>
    type: <filter-type>

field_paths

Enter a dot-separated path of the field. The fields will be removed from the original content and not processed. This parameter is optional.

field_paths:
  - "level"
  - "details"
  - "log.source"