| title | Socket Destination | |||||||
|---|---|---|---|---|---|---|---|---|
| disable_toc | false | |||||||
| products |
|
{{< product-availability >}}
Use Observability Pipelines' Socket destination to send logs to a socket endpoint.
Set up the Socket destination and its environment variables when you set up a pipeline. The following information is configured in the pipelines UI.
Only enter the identifier for the socket address and, if appliable, the key pass. Do not enter the actual values.
- Enter the identifier for your address. If you leave it blank, the default is used.
- In the Mode dropdown menu, select the socket type to use.
- In the Encoding dropdown menu, select either
JSONorRaw messageas the output format.
{{% observability_pipelines/tls_settings %}}
{{% observability_pipelines/destination_buffer %}}
{{% observability_pipelines/set_secrets_intro %}}
{{< tabs >}} {{% tab "Secrets Management" %}}
- Socket address identifier:
- References the address to which the Observability Pipelines Worker sends processed logs.
- The default identifier is
DESTINATION_SOCKET_ADDRESS.
- Socket TLS passphrase identifier (when TLS is enabled):
- The default identifier is
DESTINATION_SOCKET_KEY_PASS.
- The default identifier is
{{% /tab %}}
{{% tab "Environment Variables" %}}
{{% observability_pipelines/configure_existing_pipelines/destination_env_vars/socket %}}
{{% /tab %}} {{< /tabs >}}
The Socket destination does not batch events.