![]() |
VOOZH | about |
Logs
Use Observability Pipelines’ syslog destinations to send logs to rsyslog or syslog-ng.
Note: The rsyslog and syslog-ng destinations support the RFC5424 format.
Configure the rsyslog or syslog-ng destination when you set up a pipeline. You can set up a pipeline in the UI, using the API, or with Terraform. The steps in this section are configured in the UI.
DD_OP_. For example, if you entered PASSWORD_1 for a password identifier, the environment variable for that password is DD_OP_PASSWORD_1.After you select the rsyslog or syslog-ng destination in the pipeline UI, enter the identifier for your endpoint URL. If you leave it blank, the default is used.
See Matching log fields to syslog fields for information on how fields are matched.
Toggle the switch to Enable TLS.
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).CA Certificate Path: The path to the certificate file that is your Certificate Authority (CA) root file in DER, PEM, or CRT (X.509).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./var/lib/observability-pipelines-worker/config/ is automatically appended to the file paths. See Advanced Worker Configurations for more information.observability-pipelines-worker group and user.Enter the number of seconds to wait before sending TCP keepalive probes on an idle connection.
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.
The rsyslog and syslog-ng destinations match these log fields to the following syslog fields:
| Log Event | SYSLOG FIELD | Default |
|---|---|---|
| log[“message”] | MESSAGE | NIL |
| log[“procid”] | PROCID | The running Worker’s process 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 | Current UTC time. |
These are the defaults used for secret identifiers and environment variables.
127.0.0.1:9997.DESTINATION_SYSLOG_ENDPOINT_URL.DESTINATION_SYSLOG_KEY_PASS.127.0.0.1:9997.DD_OP_DESTINATION_SYSLOG_ENDPOINT_URL.DD_OP_DESTINATION_SYSLOG_KEY_PASS.The rsyslog and syslog-ng destinations do not batch events.
| |