@@ -34,51 +34,51 @@ To get started with sending logs to Dynatrace:
34
34
[ environment ID] ( https://docs.dynatrace.com/docs/shortlink/monitoring-environment#environment-id ) .
35
35
1 . In your main Fluent Bit configuration file, append the following ` Output ` section:
36
36
37
- {% tabs %}
38
- {% tab title="fluent-bit.yaml" %}
37
+ {% tabs %}
38
+ {% tab title="fluent-bit.yaml" %}
39
39
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
+ ` ` `
59
59
60
- {% endtab %}
61
- {% tab title="fluent-bit.conf" %}
60
+ {% endtab %}
61
+ {% tab title="fluent-bit.conf" %}
62
62
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
+ ```
79
79
80
- {% endtab %}
81
- {% endtabs %}
80
+ {% endtab %}
81
+ {% endtabs %}
82
82
83
83
## References
84
84
0 commit comments