This product is not supported for your selected
Datadog site. (
).
概要
Observability Pipelines の syslog Destination を使用して、ログを rsyslog または syslog-ng に送信します。
注: rsyslog および syslog-ng の送信先では RFC5424 形式がサポートされます。
セットアップ
シークレット管理の場合: syslog エンドポイント URL の識別子と、該当する場合はキーパスのみを入力します。実際の値は入力しないでください。
パイプラインをセットアップする際に、rsyslog または syslog-ng の送信先を構成します。パイプラインは、UI、API、または Terraform を使用してセットアップできます。このセクションの手順は、UI で設定します。
パイプライン UI で rsyslog または syslog-ng の送信先を選択した後、エンドポイント URL の識別子を入力します。空白のままにすると、デフォルトが使用されます。
フィールドの対応については、「ログフィールドと syslog フィールドの対応付け」を参照してください。
If you enter secret identifiers and then choose to use environment variables, the environment variable is the identifier entered and prepended with DD_OP_. For example, if you entered PASSWORD_1 for a password identifier, the environment variable for that password is DD_OP_PASSWORD_1.
オプション設定
TLS の有効化
Toggle the switch to Enable TLS.
- If you are using Secrets Management, enter the identifier for the key pass. See Secret defaults for the default used if the field is left blank.
- Enter the following certificate and key files:
Server Certificate Path: The path to the certificate file that has been signed by your Certificate Authority (CA) root file in DER, PEM, or CRT (X.509).- (Optional)
CA Certificate Path: The path to the certificate file that is your Certificate Authority (CA) root file in DER, PEM, or CRT (X.509). - (Optional)
Private Key Path: The path to the .key private key file that belongs to your Server Certificate Path in DER, PEM, or CRT (PKCS #8) format. - Notes:
- The configuration data directory
/var/lib/observability-pipelines-worker/config/ is automatically appended to the file paths. See Advanced Worker Configurations for more information. - The file must be readable by the
observability-pipelines-worker group and user.
TCP キープアライブプローブの待機時間
アイドル接続で TCP キープアライブプローブを送信するまでに待機する秒数を入力します。
バッファリング
Toggle the switch to enable Buffering Options. Enable a configurable buffer on your destination to ensure intermittent latency or an outage at the destination doesn’t create immediate backpressure, and allow events to continue to be ingested from your source. Disk buffers can also increase pipeline durability by writing data to disk, ensuring buffered data persists through a Worker restart. See Destination buffers for more information.
- If left unconfigured, your destination uses a memory buffer with a capacity of 500 events.
- To configure a buffer on your destination:
- Select the buffer type you want to set (Memory or Disk).
- Enter the buffer size and select the unit.
- Maximum memory buffer size is 128 GB.
- Maximum disk buffer size is 5 TB.
- Note: For Worker versions 2.20.x and older, the maximum disk buffer size is 500 GB.
- In the Behavior on full buffer dropdown menu, select whether you want to block events or drop new events when the buffer is full.
ログフィールドと syslog フィールドの対応付け
rsyslog と syslog-ng の送信先は、ログフィールドを次の syslog フィールドと対応付けます。
| ログイベント | SYSLOG フィールド | デフォルト |
|---|
| log[“message”] | MESSAGE | NIL |
| log[“procid”] | PROCID | 実行中の Worker のプロセス ID。 |
| log[“appname”] | APP-NAME | observability_pipelines |
| log[“facility”] | FACILITY | 8 (log_user) |
| log[“msgid”] | MSGID | NIL |
| log[“severity”] | SEVERITY | info |
| log[“host”] | HOSTNAME | NIL |
| log["timestamp"] | TIMESTAMP | 現在の UTC 時刻。 |
シークレットのデフォルト
These are the defaults used for secret identifiers and environment variables.
- rsyslog または syslog-ng エンドポイント URL の識別子:
- Observability Pipelines Worker のログの送信先であるアドレスとポートを参照します。たとえば、
127.0.0.1:9997 です。 - デフォルトの識別子は
DESTINATION_SYSLOG_ENDPOINT_URL です。
- rsyslog または syslog-ng TLS パスフレーズ識別子 (TLS が有効な場合):
- デフォルトの識別子は
DESTINATION_SYSLOG_KEY_PASS です。
- The rsyslog or syslog-ng endpoint URL. For example,
127.0.0.1:9997.- The Observability Pipelines Worker sends logs to this address and port.
- The default environment variable is
DD_OP_DESTINATION_SYSLOG_ENDPOINT_URL.
- The ryslog or syslog-ng TLS passphrase (when enabled):
- The default environment variable is
DD_OP_DESTINATION_SYSLOG_KEY_PASS.
送信先の動作
イベントのバッチ処理
rsyslog と syslog-ng の送信先ではイベントのバッチ処理は行われません。