LogAttribute

Description:

No description provided.

Tags:

attributes, logging

Properties:

In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.

NameDefault ValueAllowable ValuesDescription
Log Levelinfo
  • trace
  • debug
  • info
  • warn
  • error
The Log Level to use when logging the Attributes
Log Payloadfalse
  • true
  • false
If true, the FlowFile's payload will be logged, in addition to its attributes; otherwise, just the Attributes will be logged.
Attributes to LogA comma-separated list of Attributes to Log. If not specified, all attributes will be logged unless `Attributes to Log by Regular Expression` is modified. There's an AND relationship between the two properties.
Attributes to Log by Regular Expression.*A regular expression indicating the Attributes to Log. If not specified, all attributes will be logged unless `Attributes to Log` is modified. There's an AND relationship between the two properties.
Attributes to IgnoreA comma-separated list of Attributes to ignore. If not specified, no attributes will be ignored unless `Attributes to Ignore by Regular Expression` is modified. There's an OR relationship between the two properties.
Attributes to Ignore by Regular ExpressionA regular expression indicating the Attributes to Ignore. If not specified, no attributes will be ignored unless `Attributes to Ignore` is modified. There's an OR relationship between the two properties.
Log prefixLog prefix appended to the log lines. It helps to distinguish the output of multiple LogAttribute processors.
Supports Expression Language: true (will be evaluated using flow file attributes and variable registry)
Character SetUTF-8The name of the CharacterSet to use
Supports Expression Language: true (will be evaluated using flow file attributes and variable registry)

Relationships:

NameDescription
successAll 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.

System Resource Considerations:

None specified.