暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

LogAttribute

NIFI实战 2020-11-26
325

官网介绍

Emits attributes of the FlowFile at the specified log level

个人解读

根据配置打印flowfile相关内容

配置详情

Log Level
  • trace

  • debug

  • info

  • warn

  • error

指明打印的日志等级,当系统logback配置的日志等级高于该配置,不会输出到日志

Log Payload
  • true

  • false

ture的情况下如果content的内容小于1mb会打印flowfile的内容
Attributes to Log如果不配置默认打印所有属性,如果配置从这个配置里边切割属性,属性之间以,分隔
Attributes to Log by Regular Expressionfilter出需要打印的属性正则
Attributes to Ignorefilter不需要打印的属性,属性之间以,分隔
Attributes to Ignore by Regular Expressionfilter不需要打印的属性的正则
Log prefix日志输出前缀
Character Set

GBK

当Log Payload为true从flowfile中读出数据时的字符编码

路由关系

successAll FlowFiles are routed to this relationship


文章转载自NIFI实战,如果涉嫌侵权,请发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论