# Docker container logs are not being ingested into Dyntrace Managed

**URL:** <https://community.dynatrace.com/t/docker-container-logs-are-not-being-ingested-into-dyntrace-managed/56617>\
**Category:** Container platforms\
**Tags:** dynatrace-managed, docker, logs\
**Created:** [August 3, 2026, 10:33am UTC](https://community.dynatrace.com/t/docker-container-logs-are-not-being-ingested-into-dyntrace-managed/56617 "2026-08-03T10:33:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![irivas1](https://avatars.discourse-cdn.com/v4/letter/i/f14d63/32.png) [@irivas1](https://community.dynatrace.com/u/irivas1)\
**Post date:** [August 3, 2026, 10:33am UTC](https://community.dynatrace.com/t/docker-container-logs-are-not-being-ingested-into-dyntrace-managed/56617/1 "2026-08-03T10:33:23Z")

</div>

Hi,

Not long ago, I migrated from a SaaS environment to a managed environment. The thing is, in the SaaS environment, I had no trouble monitoring a Docker environment, everything worked correctly just by running the OneAgent deployment command as a Docker container.  
However, when I tried to install the agent to send data to Dynatrace Managed, the logs aren’t being sent.

The Dynatrace environment consists of three nodes and an ActiveGate environment to which OneAgent connects.

I’ve done the following:

- The following command was run to install the agent as a Docker container:

docker run -d --restart=on-failure:5 --read-only=true --pid=host --net=host --cap-drop ALL --cap-add CHOWN --cap-add DAC\_OVERRIDE --cap-add DAC\_READ\_SEARCH --cap-add FOWNER --cap-add FSETID --cap-add KIL --cap-add NET\_ADMIN --cap-add NET\_RAW --cap-add SETFCAP --cap-add SETGID --cap-add SETUID --cap-add SYS\_ADMIN --cap-add SYS\_CHROOT --cap-add SYS\_PTRACE --cap-add SYS\_RESOURCE --security-opt apparmor:unconfined -v /:/mnt/root -v dynatrace\_volume:/mnt/volume\_storage\_mount -e ONEAGENT\_ENABLE\_VOLUME\_STORAGE=true -e ONEAGENT\_INSTALLER\_SCRIPT\_URL=XXXXX.dynatrace-managed.com/e/7ad2d0d4-de31-497d-9e13-68492b5ef0a3/api/v1/deployment/installer/agent/unix/default/latest?arch=x86&nbsp;-e ONEAGENT\_INSTALLER\_DOWNLOAD\_TOKEN=dt0c01.XXXXXXX… dynatrace/oneagent

- Under Settings \> Monitoring \> Monitored Technologies, the log monitoring option is enabled

- Under Settings \> Log Monitoring \> Advanced Log Settings, the “Detect logs of containerized applications” option is enabled

- The “[Built-in]Ingest all logs” ingest rule is enabled

- I have verified that the DataRoot is /var/lib/docker and that the driver is json-file

- I have verified the mounts:

docker inspect \<oneagent-container\> --format ‘{{range .Mounts}}{{.Source}} → {{.Destination}}{{println}}{{end}}’  
&nbsp; &nbsp; &nbsp;/var/lib/docker/volumes/dynatrace\_volume/\_data → /mnt/volume\_storage\_mount

I’m getting metrics and data from the services, but I can’t seem to get the logs.

Does anyone know what might be causing the problem?

Best regards

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [August 3, 2026, 12:46pm UTC](https://community.dynatrace.com/t/docker-container-logs-are-not-being-ingested-into-dyntrace-managed/56617/2 "2026-08-03T12:46:08Z")

</div>

Hi,

Maybe log path is something “custom” and you need to include a [custom log source](https://docs.dynatrace.com/managed/shortlink/log-monitoring-custom-source).

I would check that.

Best regards

---

<div class="post-metadata">

**Author:** ![irivas1](https://avatars.discourse-cdn.com/v4/letter/i/f14d63/32.png) [@irivas1](https://community.dynatrace.com/u/irivas1)\
**Post date:** [August 4, 2026, 6:45am UTC](https://community.dynatrace.com/t/docker-container-logs-are-not-being-ingested-into-dyntrace-managed/56617/3 "2026-08-04T06:45:32Z")

</div>

Hi,  
I’ve created a custom log source with the following path: /var/lib/docker/containers/\*/\*-json.log. I know there are logs inside the containers at that path:

 ![irivas1_0-1785825827467.png](https://global.discourse-cdn.com/dynatrace/original/3X/4/4/44f62237c230fe109797d82c66af254fd037c636.png)

but I’m getting the same result as with the auto-discovered log sources: “no log data available.”

 ![irivas1_1-1785825874112.png](https://global.discourse-cdn.com/dynatrace/original/2X/4/4e7156818518968e52945fbb07a1361ad849eac4.png)

Best Regards.

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [August 4, 2026, 7:08am UTC](https://community.dynatrace.com/t/docker-container-logs-are-not-being-ingested-into-dyntrace-managed/56617/4 "2026-08-04T07:08:27Z")

</div>

Hi,

Since logs appears there. I would say:

- Confirm if double regular expresion would work in path.
- Confirm ingestion rule is enabled.
- Confirm if log lines are being added in files.

You can check&nbsp;[Logs Troubleshooting Map](https://community.dynatrace.com/topic/302260)

Best regards
