You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pipeline/outputs/datadog.md
+27-1Lines changed: 27 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,30 @@ Before you begin, you need a [Datadog account](https://app.datadoghq.com/signup)
33
33
34
34
Get started quickly with this configuration file:
35
35
36
+
{% tabs %}
37
+
{% tab title="fluent-bit.yaml" %}
38
+
39
+
```yaml
40
+
pipeline:
41
+
42
+
outputs:
43
+
- name: datadog
44
+
match: '*'
45
+
host: http-intake.logs.datadoghq.com
46
+
tls: on
47
+
compress: gzip
48
+
apikey: <my-datadog-api-key>
49
+
dd_service: <my-app-service>
50
+
dd_source: <my-app-source>
51
+
dd_tags: team:logs,foo:bar
52
+
dd_hostname: myhost
53
+
36
54
```
55
+
56
+
{% endtab %}
57
+
{% tab title="fluent-bit.conf" %}
58
+
59
+
```text
37
60
[OUTPUT]
38
61
Name datadog
39
62
Match *
@@ -47,8 +70,11 @@ Get started quickly with this configuration file:
47
70
dd_hostname myhost
48
71
```
49
72
73
+
{% endtab %}
74
+
{% endtabs %}
75
+
50
76
## Troubleshooting
51
77
52
78
### 403 Forbidden
53
79
54
-
If you get a `403 Forbidden` error response, double check that you have a valid [Datadog API key](https://docs.datadoghq.com/account_management/api-app-keys/) and that you have [activated Datadog Logs Management](https://app.datadoghq.com/logs/activation).
80
+
If you get a `403 Forbidden` error response, double check that you have a valid [Datadog API key](https://docs.datadoghq.com/account_management/api-app-keys/) and that you have [activated Datadog Logs Management](https://app.datadoghq.com/logs/activation).
0 commit comments