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

Apache/php Auto log enrichment Issue

mdg_jay
Visitor

Hello Community Members!

Our apache/php micro-services are not producing auto-enriched logs with distributed traces. Both the technologies are supported to produce auto-enriched logs according to the Dynatrace Docs here: Connecting log data to traces | Dynatrace Docs The logs are not accessible on the Hosts as well as the Distributed traces section within the Dynatrace console. Please refer to the images below. The necessary OneAgent features are enabled within the environment. The logs are forwarded using the Dynatrace cloud log forwarder. 

The micro-services are hosted on AWS ECS using fargate launch type with OneAgent sidecar container spinning up at the launch injecting libraries within the service. The logs are directed to stdout/stderr to the cloudwatch and then forwarded to the Dynatrace! Further details can be shared as appropriate.

Any suggestions?

Regards

Jay

Screenshot 2023-08-24 at 17.35.29.pngScreenshot 2023-08-24 at 17.38.46.png

1 REPLY 1

natanael_mendes
Champion

My suggestion is enable the log enrichment for these tehcnologies in the Oneagent Features or Set an Custom log source configuration

Enable the log enrichment for these tehcnologies

Settings->Preferences->OneAgent features and enable the Trace Span for these technologies

 

Documentation Link

https://www.dynatrace.com/support/help/observe-and-explore/logs/log-monitoring/log-monitoring-config...

 

 

Custom Log Source

Settings->Log Monitoring->Custom Log source configuration

Documentation Link

https://www.dynatrace.com/support/help/observe-and-explore/logs/log-monitoring/acquire-log-data/log-...

Dynatrace Professional Certified

Featured Posts