Skip to content

Commit a0023a6

Browse files
authored
Merge pull request #1912 from eschabell/erics-outputs-indent-tabs-fixes
2 parents cd31571 + f6198a3 commit a0023a6

File tree

1 file changed

+41
-41
lines changed

1 file changed

+41
-41
lines changed

pipeline/outputs/dynatrace.md

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -34,51 +34,51 @@ To get started with sending logs to Dynatrace:
3434
[environment ID](https://docs.dynatrace.com/docs/shortlink/monitoring-environment#environment-id).
3535
1. In your main Fluent Bit configuration file, append the following `Output` section:
3636

37-
{% tabs %}
38-
{% tab title="fluent-bit.yaml" %}
37+
{% tabs %}
38+
{% tab title="fluent-bit.yaml" %}
3939

40-
```yaml
41-
pipeline:
42-
43-
outputs:
44-
- name: http
45-
match: '*'
46-
header:
47-
- 'Content-Type application/json; charset=utf-8'
48-
- 'Authorization Api-Token {your-API-token-here}'
49-
allow_duplicated_headers: false
50-
host: {your-environment-id}.live.dynatrace.com
51-
port: 443
52-
uri: /api/v2/logs/ingest
53-
format: json
54-
json_date_format: iso8601
55-
json_date_key: timestamp
56-
tls: on
57-
tls.verify: on
58-
```
40+
```yaml
41+
pipeline:
42+
43+
outputs:
44+
- name: http
45+
match: '*'
46+
header:
47+
- 'Content-Type application/json; charset=utf-8'
48+
- 'Authorization Api-Token {your-API-token-here}'
49+
allow_duplicated_headers: false
50+
host: {your-environment-id}.live.dynatrace.com
51+
port: 443
52+
uri: /api/v2/logs/ingest
53+
format: json
54+
json_date_format: iso8601
55+
json_date_key: timestamp
56+
tls: on
57+
tls.verify: on
58+
```
5959
60-
{% endtab %}
61-
{% tab title="fluent-bit.conf" %}
60+
{% endtab %}
61+
{% tab title="fluent-bit.conf" %}
6262
63-
```text
64-
[OUTPUT]
65-
name http
66-
match *
67-
header Content-Type application/json; charset=utf-8
68-
header Authorization Api-Token {your-API-token-here}
69-
allow_duplicated_headers false
70-
host {your-environment-id}.live.dynatrace.com
71-
Port 443
72-
URI /api/v2/logs/ingest
73-
Format json
74-
json_date_format iso8601
75-
json_date_key timestamp
76-
tls On
77-
tls.verify On
78-
```
63+
```text
64+
[OUTPUT]
65+
name http
66+
match *
67+
header Content-Type application/json; charset=utf-8
68+
header Authorization Api-Token {your-API-token-here}
69+
allow_duplicated_headers false
70+
host {your-environment-id}.live.dynatrace.com
71+
Port 443
72+
URI /api/v2/logs/ingest
73+
Format json
74+
json_date_format iso8601
75+
json_date_key timestamp
76+
tls On
77+
tls.verify On
78+
```
7979

80-
{% endtab %}
81-
{% endtabs %}
80+
{% endtab %}
81+
{% endtabs %}
8282

8383
## References
8484

0 commit comments

Comments
 (0)