22 Feb 2025 07:00 PM
Hey All,
I am deploying the dynatrace one agent into ECS Fargate instrumented with the Java application on the same volume.
All the application logs of Java application are automatically injected with [!dt ....] at the start of every log which is making difficult for the developers to see the actual log first on dynatrace platform. I somehow want to disable this auto enrichment of logs into my java application logs, I have seen there is some feature to disable log enrichment on dynatrace UI but is there any other solution like to give some Env variable in the task definition for the dynatrace one agent which will automatically disable this injection.
For Example :
[!dt dt.entity.process_group=PROCESS_GROUP-xx, dt.trace_sampled=true, dt.trace_id=xx, dt.entity.process_group_instance=PROCESS_GROUP_INSTANCE-xx, dt.span_id=xxxx, dt.entity.host=HOST-xxx]