0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

rsyslog受信フロー

Last updated at Posted at 2025-08-08

[ネットワーク受信]
├─ UDP : imudp(514/udp)
├─ TCP : imtcp(514/tcp) + 任意でTLS
└─ RELP : imrelp(20514/tcp) + 任意でTLS

[入力→Ruleset割当]
└─ (input(type="imtcp" ruleset="rs_in_tcp") など)

[キューイング]
├─ メインキュー(各Rulesetごと)
└─ アクションキュー(各actionごと)※重い出力は専用キュー推奨

[前処理/パース]
├─ タイムスタンプ正規化 (RSYSLOG_*)
├─ ホスト名/送信元解決(UseDNS offなら逆引きしない)
├─ 形式判定 (RFC3164/5424)
└─ 追加パース(mmnormalize, mmpstrucdata 等 任意)

[フィルタ/ルーティング]
├─ if ... then ...(severity, facility, programname, hostname など)
└─ Ruleset内で複数分岐可能

[出力(action)]
├─ ファイル出力: omfile(テンプレで動的パス)
├─ 転送: omfwd/omrelp(上流へ再送)
├─ ミドル: omkafka, omelasticsearch, omhttp
└─ 健全化: 失敗時の再試行/ディスクアシスト(Disk-Assisted Queue)

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?