• Home
  • How to use Dynatrace
  • Log Monitoring
  • Log data acquisition
  • Stream logs to Dynatrace with Logstash

Stream logs to Dynatrace with Logstash

Dynatrace Log Monitoring uses OneAgent DaemonSet, which includes a Dynatrace log agent. 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:

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