ParseSyslog5424 2025.10.2.19¶
バンドル¶
org.apache.nifi | nifi-standard-nar
説明¶
Attempts to parse the contents of a well formed Syslog message in accordance to RFC5424 format and adds attributes to the FlowFile for each of the parts of the Syslog message, including Structured Data. Structured Data will be written to attributes as one attribute per item id + parameter see https://tools.ietf.org/html/rfc5424.Note: ParseSyslog5424 follows the specification more closely than ParseSyslog. If your Syslog producer does not follow the spec closely, with regards to using '-' for missing header entries for example, those logs will fail with this parser, where they would not fail with ParseSyslog.
入力要件¶
REQUIRED
機密動的プロパティをサポート¶
false
プロパティ¶
プロパティ |
説明 |
|---|---|
文字セット |
Syslogメッセージの文字セットを指定します。 |
include_policy |
trueの場合、Syslogメッセージ本文が属性に含まれます。 |
nil_policy |
ヘッダーフィールドの NIL 値の扱い方を定義します。 |
リレーションシップ¶
名前 |
説明 |
|---|---|
failure |
Syslogメッセージとして解析できなかった FlowFile は、属性を追加することなく、このRelationshipに転送されます。 |
success |
Syslog メッセージとして正常に解析された FlowFile はすべて、この Relationship に送られます。 |
属性の書き込み¶
名前 |
説明 |
|---|---|
syslog.priority |
Syslogメッセージの優先度。 |
syslog.severity |
優先度に由来する Syslog メッセージの重大度。 |
syslog.facility |
優先度に由来する Syslog メッセージのファシリティ。 |
syslog.version |
Syslog メッセージのオプションのバージョン。 |
syslog.timestamp |
Syslogメッセージのタイムスタンプ。 |
syslog.hostname |
Syslog メッセージのホスト名または IP アドレス。 |
syslog.appname |
Syslog メッセージの appname。 |
syslog.procid |
Syslog メッセージの procid。 |
syslog.messageid |
Syslog メッセージの messageid。 |
syslog.structuredData |
Syslog メッセージの structuredData ごとに複数のエントリ。 |
syslog.sender |
メッセージを送信したSyslogサーバーのホスト名。 |
syslog.body |
Syslogメッセージの本文、ホスト名以降のすべて。 |