@@ -4,9 +4,7 @@ description: Send logs to Dynatrace
44
55# Dynatrace
66
7- Stream logs to [ Dynatrace] ( https://www.dynatrace.com ) by utilizing the ** http**
8- plugin to send data to the
9- [ Dynatrace generic log ingest API] ( https://docs.dynatrace.com/docs/shortlink/lma-generic-log-ingestion ) .
7+ Stream logs to [ Dynatrace] ( https://www.dynatrace.com ) by utilizing the ` http ` plugin to send data to the [ Dynatrace generic log ingest API] ( https://docs.dynatrace.com/docs/shortlink/lma-generic-log-ingestion ) .
108
119## Configuration parameters
1210
@@ -20,26 +18,24 @@ plugin to send data to the
2018| ` uri ` | Specify the HTTP URI for Dynatrace log ingest API. | ` /api/v2/logs/ingest ` |
2119| ` format ` | The data format to be used in the HTTP request body. | ` json ` |
2220| ` json_date_format ` | Date format standard for JSON. | ` iso8601 ` |
23- | ` json_date_key ` | Fieldname specifying message timestamp. | ` timestamp ` |
21+ | ` json_date_key ` | Field name specifying message timestamp. | ` timestamp ` |
2422| ` tls ` | Specify to use TLS. | ` on ` |
2523| ` tls.verify ` | TLS verification. | ` on ` |
2624
27- ## Getting started
25+ ## Get started
2826
2927To get started with sending logs to Dynatrace:
3028
31- 1 . Get a [ Dynatrace API] ( https://docs.dynatrace.com/docs/shortlink/api-authentication )
32- token with the ` logs.ingest ` (Ingest Logs) scope.
33- 1 . Determine your Dynatrace
34- [ environment ID] ( https://docs.dynatrace.com/docs/shortlink/monitoring-environment#environment-id ) .
35- 1 . In your main Fluent Bit configuration file, append the following ` Output ` section:
29+ 1 . Get a [ Dynatrace API] ( https://docs.dynatrace.com/docs/shortlink/api-authentication ) token with the ` logs.ingest ` (Ingest Logs) scope.
30+ 1 . Determine your Dynatrace [ environment ID] ( https://docs.dynatrace.com/docs/shortlink/monitoring-environment#environment-id ) .
31+ 1 . In your main Fluent Bit configuration file, append the following ` Output ` section:
3632
3733{% tabs %}
3834{% tab title="fluent-bit.yaml" %}
3935
4036 ``` yaml
4137 pipeline :
42-
38+
4339 outputs :
4440 - name : http
4541 match : ' *'
@@ -54,12 +50,12 @@ To get started with sending logs to Dynatrace:
5450 json_date_format : iso8601
5551 json_date_key : timestamp
5652 tls : on
57- tls.verify : on
53+ tls.verify : on
5854 ` ` `
59-
55+
6056{% endtab %}
6157{% tab title="fluent-bit.conf" %}
62-
58+
6359 ` ` ` text
6460 [OUTPUT]
6561 name http
@@ -76,13 +72,14 @@ To get started with sending logs to Dynatrace:
7672 tls On
7773 tls.verify On
7874 ```
79-
75+
8076{% endtab %}
8177{% endtabs %}
8278
8379## References
8480
8581- [ Dynatrace Fluent Bit documentation] ( https://docs.dynatrace.com/docs/shortlink/lma-stream-logs-with-fluent-bit )
86- - [ Fluent Bit integration in Dynatrace Hub] ( https://www.dynatrace.com/hub/detail/fluent-bit/?filter=log-management-and-analytics )
82+ - [ Fluent Bit integration in Dynatrace Hub] ( https://www.dynatrace.com/hub/detail/fluent-bit/?filter=log-management-and-analytics )
8783- [ Video: Stream a Log File to Dynatrace using Fluent Bit] ( https://www.youtube.com/watch?v=JJJNxhtJ6R0 )
88- - [ Blog: Easily stream logs from Fluent Bit to Dynatrace] ( https://www.dynatrace.com/news/blog/easily-stream-logs-with-fluent-bit-to-dynatrace/ )
84+ - [ Blog: Easily stream logs from Fluent Bit to
85+ Dynatrace] ( https://www.dynatrace.com/news/blog/easily-stream-logs-with-fluent-bit-to-dynatrace/ )
0 commit comments