Disponible para:

Registros

Descripción general

Utilice los destinos syslog de Observability Pipelines para enviar registros a rsyslog o syslog-ng.

Nota: Los destinos rsyslog y syslog-ng admiten el formato RFC5424.

Configuración

Para la gestión de secretos: Solo ingrese el identificador para la URL del punto de conexión de syslog y, si corresponde, la clave de acceso. No ingrese los valores reales.

Configure el destino rsyslog o syslog-ng cuando configure un pipeline. Puede configurar un pipeline en la UI, utilizando la API o con Terraform. Los pasos de esta sección se configuran en la interfaz de usuario.

Después de seleccionar el destino rsyslog o syslog-ng en la UI del pipeline, ingrese el identificador para la URL de su punto de conexión. Si lo deja en blanco, se utiliza el predeterminado.

Consulte Coincidencia de campos de registro con campos de syslog para obtener información sobre cómo se hacen coincidir los campos.

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.

Configuración opcional

Habilitar 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.

Tiempo de espera para sondeos de keepalive TCP

Ingrese la cantidad de segundos a esperar antes de enviar sondeos de keepalive TCP en una conexión inactiva.

Almacenamiento en búfer

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:
    1. Select the buffer type you want to set (Memory or Disk).
    2. Enter the buffer size and select the unit.
      1. Maximum memory buffer size is 128 GB.
      2. Maximum disk buffer size is 5 TB.
        • Note: For Worker versions 2.20.x and older, the maximum disk buffer size is 500 GB.
    3. In the Behavior on full buffer dropdown menu, select whether you want to block events or drop new events when the buffer is full.

Coincidencia de campos de registro con campos de syslog

Los destinos rsyslog y syslog-ng hacen coincidir estos campos de registro con los siguientes campos de syslog:

Evento de registroCAMPO SYSLOGPredeterminado
log["message"]MESSAGENIL
log["procid"]PROCIDEl ID de proceso del Worker en ejecución.
log["appname"]APP-NAMEobservability_pipelines
log["facility"]FACILITY8 (log_user)
log["msgid"]MSGIDNIL
log["severity"]SEVERITYinfo
log["host"]HOSTNAMENIL
log["timestamp"]TIMESTAMPHora UTC actual.

Valores predeterminados de Secret

These are the defaults used for secret identifiers and environment variables.

  • Identificador de URL del punto de conexión de rsyslog o syslog-ng:
    • Hace referencia a la dirección y el puerto a los que Observability Pipelines Worker envía los registros. Por ejemplo, 127.0.0.1:9997.
    • El identificador predeterminado es DESTINATION_SYSLOG_ENDPOINT_URL.
  • Identificador de frase de contraseña TLS de rsyslog o syslog-ng (cuando TLS está habilitado):
    • El identificador predeterminado es 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.

Cómo funciona el destino

Procesamiento por lotes de eventos

Los destinos rsyslog y syslog-ng no procesan eventos por lotes.