# How to publish log folder name (log.source) when selecting logs from multiple folders

**URL:** <https://community.dynatrace.com/t/how-to-publish-log-folder-name-log-source-when-selecting-logs-from-multiple-folders/42327>\
**Category:** Logs\
**Tags:** log-monitoring-class\
**Created:** [October 27, 2023, 5:48am UTC](https://community.dynatrace.com/t/how-to-publish-log-folder-name-log-source-when-selecting-logs-from-multiple-folders/42327 "2023-10-27T05:48:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Murugesan](https://avatars.discourse-cdn.com/v4/letter/m/b9bd4f/32.png) [@Murugesan](https://community.dynatrace.com/u/Murugesan)\
**Post date:** [October 27, 2023, 5:48am UTC](https://community.dynatrace.com/t/how-to-publish-log-folder-name-log-source-when-selecting-logs-from-multiple-folders/42327/1 "2023-10-27T05:48:51Z")

</div>

Hello Everyone,

I had able to fetch logs by configuring the Custom log source(by selecting \*)from multiple folders. While I was successful in getting log data, I want to publish “Each folder” name where from the logs are coming. Currently, my log source is showing as it is, as how configured in source (//xxxx/\*). However, it has many folders and I would like to get each folder name in the output.

Could you please advise how to get this feature ? Appreciate your support.

Note : I am collecting logs from Windows Server (custom logs and JVS Logs)

regards,

Murugesan

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [December 27, 2024, 1:29pm UTC](https://community.dynatrace.com/t/how-to-publish-log-folder-name-log-source-when-selecting-logs-from-multiple-folders/42327/2 "2024-12-27T13:29:28Z")

</div>

[@Murugesan](https://community.dynatrace.com/user/66866)&nbsp;- were you able to solve this in Classic Logs? If not, it should be readily available in the DQL log segments now.

---

<div class="post-metadata">

**Author:** ![Joachim\_Erdei](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/joachim_erdei/32/32437_2.png) [@Joachim\_Erdei](https://community.dynatrace.com/u/Joachim_Erdei)\
**Post date:** [December 30, 2024, 11:15am UTC](https://community.dynatrace.com/t/how-to-publish-log-folder-name-log-source-when-selecting-logs-from-multiple-folders/42327/3 "2024-12-30T11:15:59Z")

</div>

Hi Murugesan,

Please look into&nbsp;[Custom log source — Dynatrace Docs](https://docs.dynatrace.com/docs/analyze-explore-automate/logs/lma-log-ingestion/lma-log-ingestion-via-oa/lma-custom-log-source#expand--enrich-the-logs-with-custom-attributes--2)&nbsp;section “Configure log source”, expandable point 6 - it might be the thing you need if I understood correctly.
