PutSyslog 2025.10.2.19

バンドル

org.apache.nifi | nifi-standard-nar

説明

Sends Syslog messages to a given host and port over TCP or UDP. Messages are constructed from the "Message ___" properties of the processor which can use expression language to generate messages from incoming FlowFiles. The properties are used to construct messages of the form: (<PRIORITY>)(VERSION )(TIMESTAMP) (HOSTNAME) (BODY) where version is optional. The constructed messages are checked against regular expressions for RFC5424 and RFC3164 formatted messages. The timestamp can be an RFC5424 timestamp with a format of "yyyy-MM-dd 'T'HH:mm:ss. S 'Z'" or "yyyy-MM-dd 'T'HH:mm:ss. S+hh:mm", or it can be an RFC3164 timestamp with a format of "MMM d HH:mm:ss". If a message is constructed that does not form a valid Syslog message according to the above description, then it is routed to the invalid relationship. Valid messages are sent to the Syslog server and successes are routed to the success relationship, failures routed to the failure relationship.

タグ

ログ、put、syslog、tcp、udp

入力要件

REQUIRED

機密動的プロパティをサポート

false

プロパティ

プロパティ

説明

バッチサイズ

このプロセッサーの 1 回の実行で処理する FlowFiles の受信数。

文字セット

Syslogメッセージの文字セットを指定します。式言語は FlowFile ごとには評価されないことに注意してください。

ホスト名

Syslogサーバーの IP アドレスまたはホスト名。

アイドル接続の有効期限

接続を閉じる前に、接続が使用されずに開いておく時間。

ソケット送信バッファの最大サイズ

ソケット送信バッファの最大サイズ。これは、ソケットバッファの大きさをオペレーティングシステムに提案するものです。この値を低くセットしすぎると、データを読み込む前にバッファがいっぱいになってしまい、受信データがドロップされてしまいます。

メッセージの本文

Syslogメッセージの本文。

メッセージのホスト名

Syslogメッセージのホスト名。

メッセージの優先順位

< > を除く Syslog メッセージの優先度。

メッセージタイムスタンプ

The timestamp for the Syslog messages. The timestamp can be an RFC5424 timestamp with a format of "yyyy-MM-dd 'T'HH:mm:ss. S 'Z'" or "yyyy-MM-dd 'T'HH:mm:ss. S+hh:mm", " or it can be an RFC3164 timestamp with a format of "MMM d HH:mm:ss".

メッセージのバージョン

Syslogメッセージのバージョン。

ポート

Syslog通信用のポート。式言語は FlowFile ごとには評価されないことに注意してください。

プロトコル

Syslog通信のプロトコル。

SSL コンテキストサービス

SSL コンテキストを取得するために使用するController Service。このプロパティがセットされている場合、syslogメッセージは安全な接続を介して送信されます。

タイムアウト

syslogサーバーへの接続と通信のタイムアウト。UDP には適用されません。式言語は FlowFile ごとには評価されないことに注意してください。

リレーションシップ

名前

説明

failure

Syslogへの送信に失敗した FlowFiles は、このリレーションシップで送信されます。

invalid

有効なSyslogメッセージを形成しない FlowFiles は、このリレーションシップで送信されます。

success

Syslogに正常に送信された FlowFiles は、このリレーションシップで送信されます。

こちらもご覧ください