Supports Expression Language: true (will be evaluated using flow file attributes and Environment variables)
This Property is only considered if the [Attribute Matching Strategy] Property has a value of "Enumerate attributes".Filtered Attributes Pattern | Filtered Attributes Pattern | | | A regular expression to match names of attributes to filter from FlowFiles. Supports Expression Language: true (will be evaluated using flow file attributes and Environment variables)
This Property is only considered if the [Attribute Matching Strategy] Property has a value of "Use regular expression". |
Relationships:
Name | Description |
---|
success | All successful FlowFiles are routed to this relationship |
Reads Attributes:
None specified.Writes Attributes:
None specified.State management:
This component does not store state.Restricted:
This component is not restricted.Input requirement:
This component requires an incoming relationship.Example Use Cases:
Use Case:
Retain all FlowFile attributes matching a regular expression
Configuration:
Set "Filter Mode" to "Retain".
Set "Attribute Matching Strategy" to "Use regular expression".
Specify the "Filtered Attributes Pattern", e.g. "my-property|a-prefix[.].*".
Use Case:
Remove only a specified set of FlowFile attributes
Configuration:
Set "Filter Mode" to "Remove".
Set "Attribute Matching Strategy" to "Enumerate attributes".
Specify the set of "Filtered Attributes" using the delimiter comma ',', e.g. "my-property,other,filename".
System Resource Considerations:
None specified.