Disponible pour:

Logs

Présentation

Utilisez la destination Socket d’Observability Pipelines pour envoyer des logs vers un endpoint de socket.

Configuration

Pour la gestion des secrets : saisissez uniquement l'identifiant de l'adresse du socket et, le cas échéant, le mot de passe de la clé. Ne saisissez pas les valeurs réelles.

Configurez la destination Socket lorsque vous configurez un pipeline. Vous pouvez configurer un pipeline dans l’UI, en utilisant l’API ou avec Terraform. Les étapes de cette section sont configurées dans l’interface utilisateur.

Après avoir sélectionné la destination Socket dans l’interface utilisateur du pipeline :

  1. Saisissez l’identifiant de votre adresse. Si vous le laissez vide, la valeur par défaut est utilisée.
  2. Dans le menu déroulant Mode, sélectionnez le type de socket à utiliser.
  3. Dans le menu déroulant Encoding, sélectionnez JSON ou Raw message comme format de sortie.
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.

Paramètres facultatifs

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

Mise en mémoire tampon

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.

Valeurs par défaut des secrets

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

  • Identifiant de l’adresse du socket:
    • Référence l’adresse vers laquelle l’Observability Pipelines Worker envoie les logs traités.
    • L’identifiant par défaut est DESTINATION_SOCKET_ADDRESS.
  • Identifiant de passphrase TLS du socket (lorsque TLS est activé) :
    • L’identifiant par défaut est DESTINATION_SOCKET_KEY_PASS.
  • Socket address:
    • The address to which the Observability Pipelines Worker sends processed logs.
    • The default environment variable is DD_OP_DESTINATION_SOCKET_ADDRESS.
  • TLS passphrase:
    • The default environment variable is DD_OP_DESTINATION_SOCKET_KEY_PASS.

Comment fonctionne la destination

Regroupement d’événements

La destination Socket ne regroupe pas les événements en lots.