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/dynatrace.md
+20-4Lines changed: 20 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,10 @@
1
+
---
2
+
description: Send logs to Dynatrace
3
+
---
4
+
1
5
# Dynatrace
2
6
3
-
Output your data to [Dynatrace](https://www.dynatrace.com) by utilizing the **http** plugin to send data to Dynatrace [generic log ingest API](https://www.dynatrace.com/support/help/observe-and-explore/logs/log-monitoring/acquire-log-data/log-data-ingest).
7
+
Stream logs to [Dynatrace](https://www.dynatrace.com) by utilizing the **http** plugin to send data to [Dynatrace generic log ingest API](https://docs.dynatrace.com/docs/shortlink/lma-generic-log-ingestion).
4
8
5
9
Before starting you need to get a [Dynatrace API](https://docs.dynatrace.com/docs/shortlink/api-authentication) token with the `logs.ingest` (Ingest Logs) scope, and determine your [environment ID](https://docs.dynatrace.com/docs/shortlink/monitoring-environment#environment-id). Then configure **http** output plugin with the following HTTP parameters.
6
10
@@ -20,9 +24,11 @@ Before starting you need to get a [Dynatrace API](https://docs.dynatrace.com/doc
20
24
| tls | Specify to use TLS | on |
21
25
| tls.verify | TLS verification | off |
22
26
23
-
### Configuration File
27
+
##Getting Started
24
28
25
-
In your main 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
+
2. Determine your Dynatrace [environment ID](https://docs.dynatrace.com/docs/shortlink/monitoring-environment#environment-id).
31
+
3. In your main Fluent Bit configuration file, append the following _Output_ section:
26
32
27
33
```text
28
34
[OUTPUT]
@@ -41,5 +47,15 @@ In your main configuration file, append the following _Output_ section:
41
47
tls.verify Off
42
48
```
43
49
50
+
4. Once the configuration is applied and new logs are appended, verify their receipt within Dynatrace. This can be done using Dynatrace [Notebooks](https://docs.dynatrace.com/docs/observe-and-explore/dashboards-and-notebooks/notebooks) with a Dynatrace Query Language query, for example:
51
+
52
+
```
53
+
fetch logs
54
+
```
55
+
56
+
## References
44
57
45
-
See more [how Fluent Bit integrates with Dynatrace here](https://www.dynatrace.com/hub/detail/fluent-bit/?filter=log-management-and-analytics) and [Dynatrace Fluent Bit documentation](https://docs.dynatrace.com/docs/shortlink/lma-stream-logs-with-fluent-bit).
58
+
* [2-minute video guide ](https://www.youtube.com/watch?v=JJJNxhtJ6R0)
59
+
* [How Fluent Bit integrates with Dynatrace](https://www.dynatrace.com/hub/detail/fluent-bit/?filter=log-management-and-analytics)
60
+
* [Dynatrace Fluent Bit documentation](https://docs.dynatrace.com/docs/shortlink/lma-stream-logs-with-fluent-bit).
61
+
* [Dynatrace Query Language documentation](https://docs.dynatrace.com/docs/platform/grail/dynatrace-query-language/dql-guide)
0 commit comments