# collecting logs from network shares on Windows

**URL:** <https://community.dynatrace.com/t/collecting-logs-from-network-shares-on-windows/48770>\
**Category:** Logs\
**Tags:** log-configuration, logs\
**Created:** [November 6, 2024, 6:06pm UTC](https://community.dynatrace.com/t/collecting-logs-from-network-shares-on-windows/48770 "2024-11-06T18:06:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![stephenM](https://avatars.discourse-cdn.com/v4/letter/s/4da419/32.png) [@stephenM](https://community.dynatrace.com/u/stephenM)\
**Post date:** [November 6, 2024, 6:06pm UTC](https://community.dynatrace.com/t/collecting-logs-from-network-shares-on-windows/48770/1 "2024-11-06T18:06:31Z")

</div>

We have an increase in application teams writing their app logs to network file shares instead of the local OS disks.

These file shares require AD level permissions to read the log files.

Since the Dynatrace OneAgent runs as either Local system or Local service how are people collecting logs that need to a user account to access them?

A more detailed example, our IBM MQ is setup in a multi instance configuration.&nbsp; The active node writes the MQ logs to \\nethshare\MQ\Error.log for example.

What options do we have to collect these logs into Dynatrace.

---

<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:** [November 7, 2024, 7:42am UTC](https://community.dynatrace.com/t/collecting-logs-from-network-shares-on-windows/48770/2 "2024-11-07T07:42:58Z")

</div>

Hi,

We have different ways to [ingest logs](https://docs.dynatrace.com/docs/shortlink/lma-log-ingestion#ingest-via-oneagent) in Dynatrace.

Best regards

---

<div class="post-metadata">

**Author:** ![Peter\_Youssef](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/peter_youssef/32/14668_2.png) [@Peter\_Youssef](https://community.dynatrace.com/u/Peter_Youssef)\
**Post date:** [November 7, 2024, 8:24am UTC](https://community.dynatrace.com/t/collecting-logs-from-network-shares-on-windows/48770/3 "2024-11-07T08:24:00Z")

</div>

Hello&nbsp;[@stephenM](https://community.dynatrace.com/user/18366)

Dynatrace supports multiple methods of Logs ingestion either directly via the installed Oneagents or through the API.

- OneAgent:&nbsp;&nbsp;[lma-log-ingestion-via-oa](https://docs.dynatrace.com/docs/observe-and-explore/logs/lma-log-ingestion/lma-log-ingestion-via-oa)
- API :&nbsp;[lma-generic-log-ingestion](https://docs.dynatrace.com/docs/shortlink/lma-generic-log-ingestion)
- Syslog ingestion via ActiveGate:&nbsp;[lma-ingestion-syslog](https://docs.dynatrace.com/docs/shortlink/lma-ingestion-syslog)
- [Custom Log Sources - permissions on Network File System (NFS)](https://docs.dynatrace.com/docs/shortlink/lma-custom-log-source#set-up-permissions-on-network-file-system-nfs)
- If you have a future use case in&nbsp;[Observe cloud network traffic with logs](https://docs.dynatrace.com/docs/observe-and-explore/logs/lma-use-cases/lma-e2e-observability#observe-cloud-network-traffic-with-logs)&nbsp;this is Dynatrace guidance reference.

Hoping it helps.

BR,

Peter.
