|
| 1 | +--- |
| 2 | +description: Send logs to Dash0 |
| 3 | +--- |
| 4 | + |
| 5 | +# Dash0 |
| 6 | + |
| 7 | +Stream logs to [Dash0](https://www.dash0.com) by utilizing the [OpenTelemetry plugin](opentelemetry.md) to send data to the Dash0 log ingress. |
| 8 | + |
| 9 | +## Configuration parameters |
| 10 | + |
| 11 | +| Key | Description | Default | |
| 12 | +| -------------------------- | ----------- | ------- | |
| 13 | +| `header` | The specific header for bearer authorization, where {your-Auth-token-here} is your Dash0 Auth Token. | Authorization Bearer {your-Auth-token-here} | |
| 14 | +| `host` | Your Dash0 ingress endpoint. | `ingress.eu-west-1.aws.dash0.com` | |
| 15 | +| `port` | TCP port of your Dash0 ingress endpoint. | `443` | |
| 16 | +| `metrics_uri` | Specify an optional HTTP URI for the target web server listening for metrics | `/v1/metrics` | |
| 17 | +| `logs_uri` | Specify an optional HTTP URI for the target web server listening for logs | `/v1/logs` | |
| 18 | +| `traces_uri` | Specify an optional HTTP URI for the target web server listening for traces | `/v1/traces` | |
| 19 | + |
| 20 | +### TLS / SSL |
| 21 | + |
| 22 | +The OpenTelemetry output plugin supports TLS/SSL. |
| 23 | +For more details about the properties available and general configuration, see [TLS/SSL](../../administration/transport-security.md). |
| 24 | + |
| 25 | +## Getting started |
| 26 | + |
| 27 | +To get started with sending logs to Dash0: |
| 28 | + |
| 29 | +1. Get an [Auth Token](https://www.dash0.com/documentation/dash0/key-concepts/auth-tokens) from **Settings** > **Auth Tokens**. |
| 30 | +1. In your main Fluent Bit configuration file, append the following `Output` section: |
| 31 | + |
| 32 | + {% tabs %} |
| 33 | + {% tab title="fluent-bit.conf" %} |
| 34 | + ```text |
| 35 | + [OUTPUT] |
| 36 | + Name opentelemetry |
| 37 | + Match * |
| 38 | + Host ingress.eu-west-1.aws.dash0.com |
| 39 | + Port 443 |
| 40 | + Header Authorization Bearer auth_vdOxPqcvSlBkhVQV95wU9TGXh2Fdjliq |
| 41 | + Metrics_uri /v1/metrics |
| 42 | + Logs_uri /v1/logs |
| 43 | + Traces_uri /v1/traces |
| 44 | + ``` |
| 45 | + {% endtab %} |
| 46 | + |
| 47 | + {% tab title="fluent-bit.yaml" %} |
| 48 | + ```yaml |
| 49 | + [OUTPUT] |
| 50 | + Name: opentelemetry |
| 51 | + Match: * |
| 52 | + Host: ingress.eu-west-1.aws.dash0.com |
| 53 | + Port: 443 |
| 54 | + Header: Authorization Bearer auth_vdOxPqcvSlBkhVQV95wU9TGXh2Fdjliq |
| 55 | + Metrics_uri: /v1/metrics |
| 56 | + Logs_uri: /v1/logs |
| 57 | + Traces_uri: /v1/traces |
| 58 | + ``` |
| 59 | + {% endtab %} |
| 60 | + {% endtabs %} |
| 61 | +
|
| 62 | +## References |
| 63 | +
|
| 64 | +- [Dash0 documentation](https://www.dash0.com/documentation/dash0) |
0 commit comments