<?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 Re: Retrieve last 7 days brand new on-boarding hosts in Dynatrace API</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-API/Retrieve-last-7-days-brand-new-on-boarding-hosts/m-p/202084#M2251</link>
    <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/14877"&gt;@ChadTurner&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;#1. Q:&amp;nbsp;&lt;SPAN&gt;BizOps Configurator&amp;nbsp; &amp;gt; Where I can get this? Is it free tool?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#2. "As you mentioned you could always do a export of the hosts and then use a tool such as beyond compare to see what new/removed.": I see, so we have to make routine export via API, and compare, which is out-of-dynatrace-solution.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Rgds, Avril&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Jan 2023 16:32:52 GMT</pubDate>
    <dc:creator>avrildong</dc:creator>
    <dc:date>2023-01-10T16:32:52Z</dc:date>
    <item>
      <title>Retrieve last 7 days brand new on-boarding hosts</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Retrieve-last-7-days-brand-new-on-boarding-hosts/m-p/199066#M2168</link>
      <description>&lt;P&gt;Is there a way to retrieve last 7 days brand new onboarding hosts? We used the below test cases but return incorrect results:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Test case1:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;"api/v1/entity/infrastructure/hosts?from=now-14d&amp;amp;to=now-7d&amp;amp;includeDetails=false"&lt;/P&gt;
&lt;P&gt;vs "api/v1/entity/infrastructure/hosts?from=now-7d&amp;amp;to=now&amp;amp;includeDetails=false"&lt;/P&gt;
&lt;P&gt;compare "displayName" (=hostname) return no diff.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Test case2:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;"api/v1/entity/infrastructure/hosts?from=now-90d&amp;amp;to=now-14d&amp;amp;includeDetails=false"&lt;/P&gt;
&lt;P&gt;vs "api/v1/entity/infrastructure/hosts?from=now-14d&amp;amp;to=now-7d&amp;amp;includeDetails=false": compare "displayName" (=hostname) , return very small qty of hosts and missing many.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The &lt;STRONG&gt;goal&lt;/STRONG&gt; is to retrieve last 7 days brand new on-boarding hosts.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Please note firstSeenTimestamp can not be the reliable indicator (reason mentioned in &lt;A href="https://community.dynatrace.com/t5/Dynatrace-API/Which-API-and-field-Indicator-of-brand-new-on-boarding-hosts/m-p/198335#M2138" target="_blank" rel="noopener"&gt;https://community.dynatrace.com/t5/Dynatrace-API/Which-API-and-field-Indicator-of-brand-new-on-boarding-hosts/m-p/198335#M2138&lt;/A&gt; ) ; Host restart will make new record of "entityId" + "firstSeenTimestamp".&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;That is why we intend to use alternative solution: compare last 7-14days hosts list with last 7 days hosts list to see any brand new.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 11:02:01 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Retrieve-last-7-days-brand-new-on-boarding-hosts/m-p/199066#M2168</guid>
      <dc:creator>avrildong</dc:creator>
      <dc:date>2022-12-12T11:02:01Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve last 7 days brand new on-boarding hosts</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Retrieve-last-7-days-brand-new-on-boarding-hosts/m-p/202079#M2250</link>
      <description>&lt;P&gt;So you could use the deployment status page to see the hosts that have recently onboarded hosts in the past 3 days. You could also use the BizOps Configurator to see the new Host unit consumption per Host Group or even Management Zone, but it wont give you the host ID.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChadTurner_0-1673365631846.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/9350i8F51EEE33CB263E6/image-size/large?v=v2&amp;amp;px=999" role="button" title="ChadTurner_0-1673365631846.png" alt="ChadTurner_0-1673365631846.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChadTurner_2-1673365697335.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/9351i4D57E9691EED1270/image-size/large?v=v2&amp;amp;px=999" role="button" title="ChadTurner_2-1673365697335.png" alt="ChadTurner_2-1673365697335.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As you mentioned you could always do a export of the hosts and then use a tool such as beyond compare to see what new/removed.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 15:49:35 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Retrieve-last-7-days-brand-new-on-boarding-hosts/m-p/202079#M2250</guid>
      <dc:creator>ChadTurner</dc:creator>
      <dc:date>2023-01-10T15:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve last 7 days brand new on-boarding hosts</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Retrieve-last-7-days-brand-new-on-boarding-hosts/m-p/202084#M2251</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/14877"&gt;@ChadTurner&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;#1. Q:&amp;nbsp;&lt;SPAN&gt;BizOps Configurator&amp;nbsp; &amp;gt; Where I can get this? Is it free tool?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#2. "As you mentioned you could always do a export of the hosts and then use a tool such as beyond compare to see what new/removed.": I see, so we have to make routine export via API, and compare, which is out-of-dynatrace-solution.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Rgds, Avril&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 16:32:52 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Retrieve-last-7-days-brand-new-on-boarding-hosts/m-p/202084#M2251</guid>
      <dc:creator>avrildong</dc:creator>
      <dc:date>2023-01-10T16:32:52Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve last 7 days brand new on-boarding hosts</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Retrieve-last-7-days-brand-new-on-boarding-hosts/m-p/202086#M2252</link>
      <description>&lt;P&gt;Yeah it depends on our frequency. We actually used Beyond Compare to target new servers for patching (once a month) so we could ensure they were all part of a restart group. This allowed us to find the 5-6 hosts that were new out of the 20K hosts the org had.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Biz ops configurator can be found here:&amp;nbsp;&lt;A href="https://dynatrace.github.io/BizOpsConfigurator/#prerequisites" target="_blank"&gt;https://dynatrace.github.io/BizOpsConfigurator/#prerequisites&lt;/A&gt;&amp;nbsp;It is free, and you'll need a token for your environment, the instructions are well layed out.&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could also ask your Dynatrace Account rep to provide a report of new hosts and and such on a weekly basis. We use to get a really nice report of usage on a weekly basis&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 16:36:40 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Retrieve-last-7-days-brand-new-on-boarding-hosts/m-p/202086#M2252</guid>
      <dc:creator>ChadTurner</dc:creator>
      <dc:date>2023-01-10T16:36:40Z</dc:date>
    </item>
  </channel>
</rss>

