description |
---|
Send logs to Dash0 |
Stream logs to Dash0 by utilizing the OpenTelemetry plugin to send data to the Dash0 log ingress.
Key | Description | Default |
---|---|---|
header |
The specific header for bearer authorization, where {your-Auth-token-here} is your Dash0 Auth Token. | Authorization Bearer {your-Auth-token-here} |
host |
Your Dash0 ingress endpoint. | ingress.eu-west-1.aws.dash0.com |
port |
TCP port of your Dash0 ingress endpoint. | 443 |
metrics_uri |
Specify an optional HTTP URI for the target web server listening for metrics | /v1/metrics |
logs_uri |
Specify an optional HTTP URI for the target web server listening for logs | /v1/logs |
traces_uri |
Specify an optional HTTP URI for the target web server listening for traces | /v1/traces |
The OpenTelemetry output plugin supports TLS/SSL. For more details about the properties available and general configuration, see TLS/SSL.
To get started with sending logs to Dash0:
- Get an Auth Token from Settings > Auth Tokens.
- In your main Fluent Bit configuration file, append the following
Output
section:
{% tabs %} {% tab title="fluent-bit.conf" %}
[OUTPUT]
Name opentelemetry
Match *
Host ingress.eu-west-1.aws.dash0.com
Port 443
Header Authorization Bearer {your-Auth-token-here}
Metrics_uri /v1/metrics
Logs_uri /v1/logs
Traces_uri /v1/traces
{% endtab %}
{% tab title="fluent-bit.yaml" %}
[OUTPUT]
Name: opentelemetry
Match: *
Host: ingress.eu-west-1.aws.dash0.com
Port: 443
Header: Authorization Bearer {your-Auth-token-here}
Metrics_uri: /v1/metrics
Logs_uri: /v1/logs
Traces_uri: /v1/traces
{% endtab %} {% endtabs %}