Drop JSON Field
Drop specified JSON fields.
less than a minute
This filter type can filter and drop specified JSON fields from the incoming logs.
filters: - name: drop_some_fields type: drop-json-fields field_paths: - "level" - "details" - "log.source"
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)
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>
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"