ParseSyslog 2025.10.2.19

捆绑包

org.apache.nifi | nifi-standard-nar

描述

Attempts to parses the contents of a Syslog message in accordance to RFC5424 and RFC3164 formats and adds attributes to the FlowFile for each of the parts of the Syslog message. Note: Be mindfull that RFC3164 is informational and a wide range of different implementations are present in the wild. If messages fail parsing, considering using RFC5424 or using a generic parsing processors such as ExtractGrok.

标签

attributes、event、logs、message、syslog、system

输入要求

REQUIRED

支持敏感的动态属性

false

属性

属性

描述

字符集

指定 Syslog 消息的字符集

关系

名称

描述

failure

无法解析为 Syslog 消息的任何 FlowFile 都将在不添加任何属性的情况下传输到此关系

success

成功解析为 Syslog 消息的任何 FlowFile 都将归入此关系。

写入属性

名称

描述

syslog.priority

Syslog 消息的优先级。

syslog.severity

Syslog 消息的严重性,从优先级派生。

syslog.facility

Syslog 消息的设施,从优先级派生。

syslog.version

来自 Syslog 消息的可选版本。

syslog.timestamp

Syslog 消息的时间戳。

syslog.hostname

Syslog 消息的主机名或 IP 地址。

syslog.sender

发送消息的 Syslog 服务器的主机名。

syslog.body

Syslog 消息的正文,主机名后面的所有内容。

另请参阅

语言: 中文