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

Log configuration for dynamic log paths

payal_bid
Participant

Hello,

We have application that has dynamic log path:

For Example: /app_log/docker_admin/containers/storage/overlay-containers/be776d2e8d3494076315c68c68a58cbcf36874126595f63094f831cc6c01a36f/userdata/ctr.log 

where "be776d2e8d3494076315c68c68a58cbcf36874126595f63094f831cc6c01a36f" is the dynamic container id which is changing after each execution.

Please advise how we can implement custom log configuration for the above case in Dynatrace.

 

Thanks,

Payal

5 REPLIES 5

gbaudart
DynaMight Champion
DynaMight Champion

 

Hi @payal_bid 

You may test:

/app_log/docker_admin/containers/storage/overlay-containers/#/userdata/ctr.log 

let me know if it's works

Observability Consultant - Dynatrace Professional Certified

Hi @gbaudart ,

We have tried the above combination but it didn't work.

 

 

gbaudart
DynaMight Champion
DynaMight Champion

and this :

/app_log/docker_admin/containers/storage/overlay-containers/*/userdata/ctr.log 

 

Observability Consultant - Dynatrace Professional Certified

Hi @gbaudart ,

Yeah, we have tried this too but it also didn't work.

 

gbaudart
DynaMight Champion
DynaMight Champion

Just to know, if you put the current containerID, does it work?

Observability Consultant - Dynatrace Professional Certified

Featured Posts