<?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 Log (classic) ingest rule , host tag matcher attribute in Log Analytics</title>
    <link>https://community.dynatrace.com/t5/Log-Analytics/Log-classic-ingest-rule-host-tag-matcher-attribute/m-p/254919#M371</link>
    <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;Struggle here with &lt;A href="https://docs.dynatrace.com/docs/shortlink/lma-log-ingest-rules#log-ingest-rule" target="_blank" rel="noopener"&gt;Log classic ingest rule&lt;/A&gt;&amp;nbsp;&lt;STRONG&gt;Add condition&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;and &lt;/SPAN&gt;&lt;STRONG&gt;Matcher attribute&amp;nbsp;&lt;/STRONG&gt;of&amp;nbsp;&lt;STRONG&gt;Host tag&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Yosi_Neuman_0-1725442460698.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/22195iAD807535587E4A46/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Yosi_Neuman_0-1725442460698.png" alt="Yosi_Neuman_0-1725442460698.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;We have tag on host&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Yosi_Neuman_1-1725442615554.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/22196i8C9D63D50224992F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Yosi_Neuman_1-1725442615554.png" alt="Yosi_Neuman_1-1725442615554.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But once adding the condition&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Yosi_Neuman_2-1725442675345.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/22197i799081416E7F3BAB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Yosi_Neuman_2-1725442675345.png" alt="Yosi_Neuman_2-1725442675345.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;logs are not collected any more&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Yosi_Neuman_3-1725442741099.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/22198iC18FA9CCFC16AED7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Yosi_Neuman_3-1725442741099.png" alt="Yosi_Neuman_3-1725442741099.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;What are we missing here ?&lt;/P&gt;&lt;P&gt;Yos&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Sep 2024 09:40:07 GMT</pubDate>
    <dc:creator>Yosi_Neuman</dc:creator>
    <dc:date>2024-09-04T09:40:07Z</dc:date>
    <item>
      <title>Log (classic) ingest rule , host tag matcher attribute</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Log-classic-ingest-rule-host-tag-matcher-attribute/m-p/254919#M371</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;Struggle here with &lt;A href="https://docs.dynatrace.com/docs/shortlink/lma-log-ingest-rules#log-ingest-rule" target="_blank" rel="noopener"&gt;Log classic ingest rule&lt;/A&gt;&amp;nbsp;&lt;STRONG&gt;Add condition&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;and &lt;/SPAN&gt;&lt;STRONG&gt;Matcher attribute&amp;nbsp;&lt;/STRONG&gt;of&amp;nbsp;&lt;STRONG&gt;Host tag&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Yosi_Neuman_0-1725442460698.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/22195iAD807535587E4A46/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Yosi_Neuman_0-1725442460698.png" alt="Yosi_Neuman_0-1725442460698.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;We have tag on host&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Yosi_Neuman_1-1725442615554.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/22196i8C9D63D50224992F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Yosi_Neuman_1-1725442615554.png" alt="Yosi_Neuman_1-1725442615554.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But once adding the condition&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Yosi_Neuman_2-1725442675345.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/22197i799081416E7F3BAB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Yosi_Neuman_2-1725442675345.png" alt="Yosi_Neuman_2-1725442675345.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;logs are not collected any more&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Yosi_Neuman_3-1725442741099.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/22198iC18FA9CCFC16AED7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Yosi_Neuman_3-1725442741099.png" alt="Yosi_Neuman_3-1725442741099.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;What are we missing here ?&lt;/P&gt;&lt;P&gt;Yos&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2024 09:40:07 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Log-classic-ingest-rule-host-tag-matcher-attribute/m-p/254919#M371</guid>
      <dc:creator>Yosi_Neuman</dc:creator>
      <dc:date>2024-09-04T09:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: Log (classic) ingest rule , host tag matcher attribute</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Log-classic-ingest-rule-host-tag-matcher-attribute/m-p/255271#M372</link>
      <description>&lt;P&gt;Hey Yos, did you manage to figure this out?&lt;BR /&gt;We're having a very similar problem where Dynatrace doesn't seem to be able to recognize the tags on a host properly and collect logs from there.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PedroSantos_0-1725904173775.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/22256iCE09CBADB4E68D2C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PedroSantos_0-1725904173775.png" alt="PedroSantos_0-1725904173775.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;This is the rule I have for the environment and it does not work. The host absolutely has the tag:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PedroSantos_1-1725904253098.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/22257i70CD5EAC9B37A023/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PedroSantos_1-1725904253098.png" alt="PedroSantos_1-1725904253098.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But no logs are collected.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;However, if I add the following rule to the host itself, the logs are collected:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PedroSantos_2-1725904321192.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/22258i097BCAB4C309084F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PedroSantos_2-1725904321192.png" alt="PedroSantos_2-1725904321192.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;I have no clue what's going on, since it should be working and had been working in the past. A "workaround" would be to add rules to each and every host individually, but that's a nightmare.&lt;/P&gt;&lt;P&gt;Am I using the wrong syntax or something?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2024 17:53:36 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Log-classic-ingest-rule-host-tag-matcher-attribute/m-p/255271#M372</guid>
      <dc:creator>PedroSantos</dc:creator>
      <dc:date>2024-09-09T17:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: Log (classic) ingest rule , host tag matcher attribute</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Log-classic-ingest-rule-host-tag-matcher-attribute/m-p/255295#M373</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/77112"&gt;@PedroSantos&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nope&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":upside_down_face:"&gt;🙃&lt;/span&gt; still don't have solution for that&amp;nbsp;&lt;/P&gt;&lt;P&gt;Will open a support ticket for that later on and will update with the answer&lt;/P&gt;&lt;P&gt;Yos&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 04:47:14 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Log-classic-ingest-rule-host-tag-matcher-attribute/m-p/255295#M373</guid>
      <dc:creator>Yosi_Neuman</dc:creator>
      <dc:date>2024-09-10T04:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: Log (classic) ingest rule , host tag matcher attribute</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Log-classic-ingest-rule-host-tag-matcher-attribute/m-p/255317#M374</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/6931"&gt;@Yosi_Neuman&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think we might have figured out something on our end. It seems that this might be the issue:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;Matching is based on the host tag. &lt;STRONG&gt;&lt;U&gt;The attribute only supports the tags set with the &lt;A class="" title="Learn how to tag and set additional properties for a monitored host." href="https://docs.dynatrace.com/docs/platform-modules/infrastructure-monitoring/hosts/configuration/define-tags-and-metadata-for-hosts" target="_blank" rel="noopener"&gt;OneAgent command line tool&lt;/A&gt; or with the &lt;A class="" title="Perform OneAgent and ActiveGate configuration on hosts from the Deployment status page or at scale using the Dynatrace API." href="https://docs.dynatrace.com/docs/setup-and-configuration/bulk-configuration" target="_blank" rel="noopener"&gt;Remote configuration&lt;/A&gt; &lt;/U&gt;&lt;/STRONG&gt;in a key=value pair format. &lt;U&gt;&lt;STRONG&gt;They can be distinguished by the [Environment] prefix on the UI&lt;/STRONG&gt;&lt;/U&gt;, but you should use the value without the prefix. Multiple tags can be specified in a single matcher, but each tag needs to have the same key, such as logscope=frontend, logscope=backend.&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;So, essentially, none of the tags we were using had the [Environment] prefix on the UI. Can you confirm this is the case on your end as well?&lt;/P&gt;&lt;P&gt;For this purpose, we can only use tags defined through the OneAgent command line tool or applied through the Remote Configuration. What this means is that we'll probably need to reapply tags to several hosts using these tools, and then it should work. From what I've gathered, it seems that tags not applied through these tools are not visible to the OneAgent (and are instead known by the SaaS), and that's why the OneAgents has no idea that the tags we're using are applied to their hosts.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 10:17:30 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Log-classic-ingest-rule-host-tag-matcher-attribute/m-p/255317#M374</guid>
      <dc:creator>PedroSantos</dc:creator>
      <dc:date>2024-09-10T10:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: Log (classic) ingest rule , host tag matcher attribute</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Log-classic-ingest-rule-host-tag-matcher-attribute/m-p/255344#M375</link>
      <description>&lt;P&gt;Bravo&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/77112"&gt;@PedroSantos&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I read the documentation and saw the&amp;nbsp;&lt;STRONG&gt;&lt;U&gt;&lt;A class="" title="Perform OneAgent and ActiveGate configuration on hosts from the Deployment status page or at scale using the Dynatrace API." href="https://docs.dynatrace.com/docs/setup-and-configuration/bulk-configuration" target="_blank" rel="noopener noreferrer"&gt;Remote&lt;/A&gt;&lt;/U&gt;&lt;/STRONG&gt;&lt;U&gt;&lt;A class="" title="Perform OneAgent and ActiveGate configuration on hosts from the Deployment status page or at scale using the Dynatrace API." href="https://docs.dynatrace.com/docs/setup-and-configuration/bulk-configuration" target="_blank" rel="noopener noreferrer"&gt; configuration&lt;/A&gt;&lt;/U&gt;&amp;nbsp;but did not understood that it means we need to go the deployment status page and set the tag from there&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":face_screaming_in_fear:"&gt;😱&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now, after setting the tag its work like a charm!&amp;nbsp;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":hugging_face:"&gt;🤗&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help !&amp;nbsp;&lt;img class="lia-deferred-image lia-image-emoji" src="https://community.dynatrace.com/html/@55ADF9751E5074BD186CC50E36EA76F5/images/emoticons/thankyou.gif" alt=":thankyou:" title=":thankyou:" /&gt;&lt;/P&gt;&lt;P&gt;All the best and stay safe&lt;/P&gt;&lt;P&gt;Yos&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 13:26:36 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Log-classic-ingest-rule-host-tag-matcher-attribute/m-p/255344#M375</guid>
      <dc:creator>Yosi_Neuman</dc:creator>
      <dc:date>2024-09-10T13:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: Log (classic) ingest rule , host tag matcher attribute</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Log-classic-ingest-rule-host-tag-matcher-attribute/m-p/269396#M1192</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have just raised &lt;A title="this product idea" href="https://community.dynatrace.com/t5/Product-ideas/Log-ingest-rules-Adding-more-host-filters/idi-p/269395" target="_blank" rel="noopener"&gt;this product idea&lt;/A&gt;. Maybe it would be useful to your usecase.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2025 09:26:02 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Log-classic-ingest-rule-host-tag-matcher-attribute/m-p/269396#M1192</guid>
      <dc:creator>AntonPineiro</dc:creator>
      <dc:date>2025-02-06T09:26:02Z</dc:date>
    </item>
  </channel>
</rss>

