@@ -4,9 +4,7 @@ description: Send logs to Dynatrace
4
4
5
5
# Dynatrace
6
6
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 ) .
10
8
11
9
## Configuration parameters
12
10
@@ -20,26 +18,24 @@ plugin to send data to the
20
18
| ` uri ` | Specify the HTTP URI for Dynatrace log ingest API. | ` /api/v2/logs/ingest ` |
21
19
| ` format ` | The data format to be used in the HTTP request body. | ` json ` |
22
20
| ` 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 ` |
24
22
| ` tls ` | Specify to use TLS. | ` on ` |
25
23
| ` tls.verify ` | TLS verification. | ` on ` |
26
24
27
- ## Getting started
25
+ ## Get started
28
26
29
27
To get started with sending logs to Dynatrace:
30
28
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:
36
32
37
33
{% tabs %}
38
34
{% tab title="fluent-bit.yaml" %}
39
35
40
36
``` yaml
41
37
pipeline :
42
-
38
+
43
39
outputs :
44
40
- name : http
45
41
match : ' *'
@@ -54,12 +50,12 @@ To get started with sending logs to Dynatrace:
54
50
json_date_format : iso8601
55
51
json_date_key : timestamp
56
52
tls : on
57
- tls.verify : on
53
+ tls.verify : on
58
54
` ` `
59
-
55
+
60
56
{% endtab %}
61
57
{% tab title="fluent-bit.conf" %}
62
-
58
+
63
59
` ` ` text
64
60
[OUTPUT]
65
61
name http
@@ -76,13 +72,14 @@ To get started with sending logs to Dynatrace:
76
72
tls On
77
73
tls.verify On
78
74
```
79
-
75
+
80
76
{% endtab %}
81
77
{% endtabs %}
82
78
83
79
## References
84
80
85
81
- [ 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 )
87
83
- [ 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