Stream logs to Dynatrace with Logstash

Dynatrace Log Management and Analytics uses OneAgent DaemonSet, which includes a log module. This is the recommended way of streaming logs from nodes and pods to Dynatrace.

Alternatively, you can use the Dynatrace Logstash output plugin, which is an open-source module, to stream logs.

Logstash pipeline to Dynatrace

Capabilities

Supports sending logs to Dynatrace log ingest API v2.

Deploy integration

For instructions on how to deploy Logstash integration, see the documentation on GitHub

Example configuration:

output {
dynatrace {
id => "dynatrace_output"
ingest_endpoint_url => "${ACTIVE_GATE_URL}/api/v2/logs/ingest"
api_key => "${API_KEY}"
}
}