Dynatrace
Send logs to Dynatrace
Stream logs to Dynatrace by utilizing the http plugin to send data to the Dynatrace generic log ingest API.
Configuration parameters
header
The specific header for content-type.
Content-Type application/json; charset=utf-8
header
The specific header for authorization token, where {your-API-token-here} is the Dynatrace API token with log ingest scope.
Authorization Api-Token {your-API-token-here}
allow_duplicated_headers
Specifies duplicated header use.
false
host
Your Dynatrace environment hostname where {your-environment-id} is your environment ID.
{your-environment-id}.live.dynatrace.com
port
TCP port of your Dynatrace host.
443
uri
Specify the HTTP URI for Dynatrace log ingest API.
/api/v2/logs/ingest
format
The data format to be used in the HTTP request body.
json
json_date_format
Date format standard for JSON.
iso8601
json_date_key
Fieldname specifying message timestamp.
timestamp
tls
Specify to use TLS.
on
tls.verify
TLS verification.
on
Getting started
To get started with sending logs to Dynatrace:
Get a Dynatrace API token with the
logs.ingest
(Ingest Logs) scope.Determine your Dynatrace environment ID.
In your main Fluent Bit configuration file, append the following
Output
section:
References
Last updated