<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Retrieve Specific Filenames Using Wildcards in Dynatrace Log Ingestion Rules in Log Analytics</title>
    <link>https://community.dynatrace.com/t5/Log-Analytics/Retrieve-Specific-Filenames-Using-Wildcards-in-Dynatrace-Log/m-p/253533#M16</link>
    <description>&lt;DIV class=""&gt;
&lt;DIV&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;&lt;SPAN&gt;Hello,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;
&lt;P&gt;I created a log ingestion rule at the host-group level to pick up logs.&lt;BR /&gt;The log.source contains the wildcard character "*", for example, /static/*/static/service.log.&lt;/P&gt;
&lt;P&gt;The machines contain multiple folders:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;/static/XY/static/service.log&lt;/LI&gt;
&lt;LI&gt;/static/XZ/static/service.log&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;At first glance, this seems perfect because it can be applied to all machines without needing to create rules with specific folder names for each machine.&lt;/P&gt;
&lt;P&gt;However, the log.source is only available with the wildcard, and Dynatrace does not provide the exact filenames.&lt;BR /&gt;As a result, the filtering is not working correctly.&lt;/P&gt;
&lt;P&gt;When I need logs only from /static/XY/static/service.log, the query also provides log entries from /static/XZ/static/service.log.&lt;/P&gt;
&lt;P&gt;Do you have any idea how I can retrieve the specific filenames?&lt;/P&gt;
&lt;P&gt;Thanks a lot.&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
    <pubDate>Fri, 23 Aug 2024 10:09:48 GMT</pubDate>
    <dc:creator>GaborBernics</dc:creator>
    <dc:date>2024-08-23T10:09:48Z</dc:date>
    <item>
      <title>Retrieve Specific Filenames Using Wildcards in Dynatrace Log Ingestion Rules</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Retrieve-Specific-Filenames-Using-Wildcards-in-Dynatrace-Log/m-p/253533#M16</link>
      <description>&lt;DIV class=""&gt;
&lt;DIV&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;&lt;SPAN&gt;Hello,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;
&lt;P&gt;I created a log ingestion rule at the host-group level to pick up logs.&lt;BR /&gt;The log.source contains the wildcard character "*", for example, /static/*/static/service.log.&lt;/P&gt;
&lt;P&gt;The machines contain multiple folders:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;/static/XY/static/service.log&lt;/LI&gt;
&lt;LI&gt;/static/XZ/static/service.log&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;At first glance, this seems perfect because it can be applied to all machines without needing to create rules with specific folder names for each machine.&lt;/P&gt;
&lt;P&gt;However, the log.source is only available with the wildcard, and Dynatrace does not provide the exact filenames.&lt;BR /&gt;As a result, the filtering is not working correctly.&lt;/P&gt;
&lt;P&gt;When I need logs only from /static/XY/static/service.log, the query also provides log entries from /static/XZ/static/service.log.&lt;/P&gt;
&lt;P&gt;Do you have any idea how I can retrieve the specific filenames?&lt;/P&gt;
&lt;P&gt;Thanks a lot.&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 23 Aug 2024 10:09:48 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Retrieve-Specific-Filenames-Using-Wildcards-in-Dynatrace-Log/m-p/253533#M16</guid>
      <dc:creator>GaborBernics</dc:creator>
      <dc:date>2024-08-23T10:09:48Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve Specific Filenames Using Wildcards in Dynatrace Log Ingestion Rules</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Retrieve-Specific-Filenames-Using-Wildcards-in-Dynatrace-Log/m-p/253781#M17</link>
      <description>&lt;P&gt;Hi Gábor!&lt;/P&gt;&lt;P&gt;I think it is not possible. &lt;span class="lia-unicode-emoji" title=":frowning_face:"&gt;☹️&lt;/span&gt; Maybe other community members have any other ideas.&lt;/P&gt;&lt;P&gt;What would you like to achieve exactly? Drop me an e-mail if you need any online help: &lt;A href="mailto:janos.mizsei@telvice.hu" target="_blank"&gt;janos.mizsei@telvice.hu&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Mizső&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2024 12:02:10 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Retrieve-Specific-Filenames-Using-Wildcards-in-Dynatrace-Log/m-p/253781#M17</guid>
      <dc:creator>Mizső</dc:creator>
      <dc:date>2024-08-21T12:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve Specific Filenames Using Wildcards in Dynatrace Log Ingestion Rules</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Retrieve-Specific-Filenames-Using-Wildcards-in-Dynatrace-Log/m-p/253935#M18</link>
      <description>&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;&lt;SPAN&gt;Hello Mizső,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;&lt;BR /&gt;Thanks for the confirmation.&lt;BR /&gt;&lt;BR /&gt;The main target is to enforce the log rules at the host-group level, instead of creating rules for all affected services on each machine.&lt;BR /&gt;The service path contains individually generated parts, which complicates the situation.&lt;/P&gt;&lt;P&gt;If Dynatrace is not able to retrieve the full path of the affected log entries, we may need to create individual rules using the API.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Gabor&amp;nbsp;&lt;BR /&gt;[ Allianz Technology ]&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 22 Aug 2024 09:50:24 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Retrieve-Specific-Filenames-Using-Wildcards-in-Dynatrace-Log/m-p/253935#M18</guid>
      <dc:creator>GaborBernics</dc:creator>
      <dc:date>2024-08-22T09:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve Specific Filenames Using Wildcards in Dynatrace Log Ingestion Rules</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Retrieve-Specific-Filenames-Using-Wildcards-in-Dynatrace-Log/m-p/253944#M19</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/79529"&gt;@GaborBernics&lt;/a&gt;!&lt;/P&gt;&lt;P&gt;I thinkthis is the only one way...the individual rules.&lt;/P&gt;&lt;P&gt;Maybe there is a dirty solution with an extra disk capacity reuirements. If you could enrich you every single log lines with the generated information (extra disk requirements for log size). This information could be parsed out from the log lines and could be used for filtering. Example for filtering based on parsed data from log lines...&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mizs_0-1724324194275.png" style="width: 641px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/21944iD4C3A71500C2936B/image-dimensions/641x363?v=v2" width="641" height="363" role="button" title="Mizs_0-1724324194275.png" alt="Mizs_0-1724324194275.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Best regrads,&lt;/P&gt;&lt;P&gt;Mizső&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2024 10:59:04 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Retrieve-Specific-Filenames-Using-Wildcards-in-Dynatrace-Log/m-p/253944#M19</guid>
      <dc:creator>Mizső</dc:creator>
      <dc:date>2024-08-22T10:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve Specific Filenames Using Wildcards in Dynatrace Log Ingestion Rules</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Retrieve-Specific-Filenames-Using-Wildcards-in-Dynatrace-Log/m-p/271341#M1231</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/79529"&gt;@GaborBernics&lt;/a&gt;;&lt;BR /&gt;&lt;BR /&gt;There is an option to add Attributes in the CUSTOM LOG SOURCES.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="moin_DT1_1-1740758959730.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/26747i8A85804F327F6DB1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="moin_DT1_1-1740758959730.png" alt="moin_DT1_1-1740758959730.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know its late, but it might be useful for other users of community.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Moin&lt;/P&gt;</description>
      <pubDate>Fri, 16 May 2025 16:58:02 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Retrieve-Specific-Filenames-Using-Wildcards-in-Dynatrace-Log/m-p/271341#M1231</guid>
      <dc:creator>moin_DT1</dc:creator>
      <dc:date>2025-05-16T16:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve Specific Filenames Using Wildcards in Dynatrace Log Ingestion Rules</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Retrieve-Specific-Filenames-Using-Wildcards-in-Dynatrace-Log/m-p/277411#M1335</link>
      <description>&lt;P&gt;Thanks! This worked for us.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 May 2025 16:50:02 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Retrieve-Specific-Filenames-Using-Wildcards-in-Dynatrace-Log/m-p/277411#M1335</guid>
      <dc:creator>MikeDouglas</dc:creator>
      <dc:date>2025-05-16T16:50:02Z</dc:date>
    </item>
  </channel>
</rss>

