Emits attributes of the FlowFile at the specified log level
attributes, logging
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.
Display Name | API Name | Default Value | Allowable Values | Description |
---|---|---|---|---|
Log Level | Log Level | info |
| The Log Level to use when logging the Attributes |
Log Payload | Log Payload | false |
| If true, the FlowFile's payload will be logged, in addition to its attributes; otherwise, just the Attributes will be logged. |
Attributes to Log | Attributes to Log | A 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 | attributes-to-log-regex | .* | 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 Ignore | Attributes to Ignore | A 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 Expression | attributes-to-ignore-regex | A 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 FlowFile Properties | Log FlowFile Properties | true |
| Specifies whether or not to log FlowFile "properties", such as Entry Date, Lineage Start Date, and content size |
Output Format | Output Format | Line per Attribute |
| Specifies the format to use for logging FlowFile attributes |
Log prefix | Log prefix | Log 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 Set | character-set | UTF-8 | The name of the CharacterSet to use Supports Expression Language: true (will be evaluated using flow file attributes and variable registry) |
Name | Description |
---|---|
success | All FlowFiles are routed to this relationship |