# Log configuration for dynamic log paths

**URL:** <https://community.dynatrace.com/t/log-configuration-for-dynamic-log-paths/43454>\
**Category:** Logs\
**Tags:** log-configuration, logs\
**Created:** [January 4, 2024, 10:20am UTC](https://community.dynatrace.com/t/log-configuration-for-dynamic-log-paths/43454 "2024-01-04T10:20:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![payal\_bid](https://avatars.discourse-cdn.com/v4/letter/p/cdc98d/32.png) [@payal\_bid](https://community.dynatrace.com/u/payal_bid)\
**Post date:** [January 4, 2024, 10:20am UTC](https://community.dynatrace.com/t/log-configuration-for-dynamic-log-paths/43454/1 "2024-01-04T10:20:23Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![gbaudart](https://avatars.discourse-cdn.com/v4/letter/g/e47c2d/32.png) [@gbaudart](https://community.dynatrace.com/u/gbaudart)\
**Post date:** [January 4, 2024, 11:02am UTC](https://community.dynatrace.com/t/log-configuration-for-dynamic-log-paths/43454/2 "2024-01-04T11:02:59Z")

</div>

Hi&nbsp;[@payal\_bid](https://community.dynatrace.com/user/59479)

You may test:

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

```

let me know if it’s works

---

<div class="post-metadata">

**Author:** ![payal\_bid](https://avatars.discourse-cdn.com/v4/letter/p/cdc98d/32.png) [@payal\_bid](https://community.dynatrace.com/u/payal_bid)\
**Post date:** [January 4, 2024, 12:30pm UTC](https://community.dynatrace.com/t/log-configuration-for-dynamic-log-paths/43454/3 "2024-01-04T12:30:38Z")

</div>

Hi&nbsp;[@gbaudart](https://community.dynatrace.com/user/64996)&nbsp;,

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

---

<div class="post-metadata">

**Author:** ![gbaudart](https://avatars.discourse-cdn.com/v4/letter/g/e47c2d/32.png) [@gbaudart](https://community.dynatrace.com/u/gbaudart)\
**Post date:** [January 4, 2024, 4:09pm UTC](https://community.dynatrace.com/t/log-configuration-for-dynamic-log-paths/43454/4 "2024-01-04T16:09:12Z")

</div>

and this :

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

```

---

<div class="post-metadata">

**Author:** ![payal\_bid](https://avatars.discourse-cdn.com/v4/letter/p/cdc98d/32.png) [@payal\_bid](https://community.dynatrace.com/u/payal_bid)\
**Post date:** [January 4, 2024, 5:21pm UTC](https://community.dynatrace.com/t/log-configuration-for-dynamic-log-paths/43454/5 "2024-01-04T17:21:46Z")

</div>

Hi&nbsp;[@gbaudart](https://community.dynatrace.com/user/64996)&nbsp;,

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

---

<div class="post-metadata">

**Author:** ![gbaudart](https://avatars.discourse-cdn.com/v4/letter/g/e47c2d/32.png) [@gbaudart](https://community.dynatrace.com/u/gbaudart)\
**Post date:** [January 4, 2024, 5:53pm UTC](https://community.dynatrace.com/t/log-configuration-for-dynamic-log-paths/43454/6 "2024-01-04T17:53:50Z")

</div>

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