cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
noel_david
Dynatrace Organizer
Dynatrace Organizer

Summary

Dynatrace can enrich your ingested log data with additional information that helps Dynatrace to recognize, correlate, and evaluate the data. Log enrichment results in a more refined analysis of your logs.

 

Problem

Traces are not being enriched with logs, even though logs are present and are being captured.

 

Troubleshooting steps

Things to check when automatic log enrichment is not working.

  • Make sure traces (purepath) related to the flow are also there. The distributed trace must be created first. 
  • Check the Dynatrace OneAgent version. If possible, always use the latest version. You can verify the OneAgent version in the trace by looking at the attributes. 

 

noel_david_0-1755682048296.png

 

  • Log monitoring V2 must be enabled for the managed customer or Log on Grail for SaaS. 
  • The enriched logs should have dt.span_iddt.trace_iddt.trace_sampled fields, below is an example of a sample log file. Note that  if dt.trace_sampled= false implies that the trace related to that log was hit by ATM, and as such, that specific trace won't be available.
noel_david_0-1756193796198.png

 

  • Check if the logging framework used is supported. Details are given on the documentation page below.
  • Make sure you have enabled the feature for Log enrichment at the process group level or global level.
    You can do this by following these steps.
    • In the Dynatrace menu, go to Settings and select Preferences > OneAgent features.
    • Filter for enrichment.
    • Enable/disable each log enrichment for each technology that you use to generate ingested log data.
    • Select Save changes to save your configuration.

 

What's next

If you still face any issues, create a ticket wth the below details. 

 

Version history
Last update:
‎26 Aug 2025 08:39 AM
Updated by:
Comments
ChadTurner
DynaMight Legend
DynaMight Legend

An old OneAgent Version is a common issue, Thank you for sharing this! I'm sure it will help out many community members.