Skip to content

1. About

Support Policy

This is an enablement project created by the Center of Excellence - Enablement Team at Dynatrace.

Support is provided via GitHub issues only. The materials provided in this repository are offered "as-is" without any warranties, express or implied. Use them at your own risk.

Lab Overview#

During this hands-on training lab, we’ll learn how to capture logs from Kubernetes using the Dynatrace Operator to deploy the Dynatrace Log Module. We'll then configure log monitoring in Dynatrace to maximize the value that we get from logs. Finally, we'll analyze the logs in context using the various apps native to the Dynatrace platform.

Lab tasks:

  1. Launch GitHub codespaces container with lab setup

    • Kubernetes cluster running AstroShop demo application
  2. Deploy Kubernetes Platform Monitoring + Application Observability

  3. Configure and validate Kubernetes log ingest into Dynatrace

  4. Ingest CronJob logs

  5. Configure advanced log monitoring in Dynatrace

    • Log module feature flags
    • Sensitive data masking
    • Timestamp patterns and splitting
    • Dynatrace component logs for self-monitoring
  6. Configure Dynatrace OpenPipeline for log transformation on ingest

  7. Analyze logs in context using apps native to the Dynatrace platform

    • Problems
    • Kubernetes
    • Distributed Tracing
    • Services
  8. Clean up GitHub codespaces instance

The OpenTelemetry Option

Did you know that the Dynatrace Operator is not the only way to achieve this goal? It is possible using pure OpenTelemetry. Here is a tutorial which guides you through this option:

Ingest Logs into Dynatrace using OpenTelemetry

Technical Specification#

Technologies Used#

Reference Architecture#

Dynatrace on Kubernetes: Application observability

Dynatrace on Kubernetes: Platform monitoring

OpenTelemetry Astronomy Shop Demo Architecture

Continue#

In the next section, we'll review the prerequisites for this lab needed before launching our Codespaces instance.