Dynatrace

Send logs to Dynatrace

Stream logs to Dynatracearrow-up-right by utilizing the http plugin to send data to the Dynatrace generic log ingest APIarrow-up-right.

Configuration parameters

Key
Description
Default

allow_duplicated_headers

Specifies duplicated header use.

false

format

The data format to be used in the HTTP request body.

json

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}

host

Your Dynatrace environment hostname where {your-environment-id} is your environment ID.

{your-environment-id}.live.dynatrace.com

json_date_format

Date format standard for JSON.

iso8601

json_date_key

Field name specifying message timestamp.

timestamp

port

TCP port of your Dynatrace host.

443

tls

Specify to use TLS.

on

tls.verify

TLS verification.

on

uri

Specify the HTTP URI for Dynatrace log ingest API.

/api/v2/logs/ingest

Get started

To get started with sending logs to Dynatrace:

  1. Get a Dynatrace APIarrow-up-right token with the logs.ingest (Ingest Logs) scope.

  2. Determine your Dynatrace environment IDarrow-up-right.

  3. In your main Fluent Bit configuration file, append the following Output section:

References

Last updated

Was this helpful?