FilterAttribute 2.3.0

BUNDLE

org.apache.nifi | nifi-standard-nar

DESCRIPTION

Filters the attributes of a FlowFile by retaining specified attributes and removing the rest or by removing specified attributes and retaining the rest.

TAGS

Attribute Expression Language, attributes, delete, filter, modification, regex, regular expression, remove, retain

INPUT REQUIREMENT

REQUIRED

Supports Sensitive Dynamic Properties

false

PROPERTIES

Property

Description

Attribute Matching Strategy

Specifies the strategy to filter attributes by.

Filter Mode

Specifies the strategy to apply on filtered attributes. Either ‘Remove’ or ‘Retain’ only the matching attributes.

Filtered Attributes

A set of attribute names to filter from FlowFiles. Each attribute name is separated by the comma delimiter ‘,’.

Filtered Attributes Pattern

A regular expression to match names of attributes to filter from FlowFiles.

RELATIONSHIPS

NAME

DESCRIPTION

success

All successful FlowFiles are routed to this relationship

USE CASES

Retain all FlowFile attributes matching a regular expression

Remove only a specified set of FlowFile attributes

Language: English