<?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 A simple DQL to do a search for an IP to host in Dynatrace. in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/A-simple-DQL-to-do-a-search-for-an-IP-to-host-in-Dynatrace/m-p/228830#M352</link>
    <description>&lt;P&gt;I appreciate a simple DQL to search for a host name given an IP. How simple could it be?&lt;/P&gt;</description>
    <pubDate>Wed, 15 Nov 2023 16:28:00 GMT</pubDate>
    <dc:creator>MarwanC</dc:creator>
    <dc:date>2023-11-15T16:28:00Z</dc:date>
    <item>
      <title>A simple DQL to do a search for an IP to host in Dynatrace.</title>
      <link>https://community.dynatrace.com/t5/DQL/A-simple-DQL-to-do-a-search-for-an-IP-to-host-in-Dynatrace/m-p/228830#M352</link>
      <description>&lt;P&gt;I appreciate a simple DQL to search for a host name given an IP. How simple could it be?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2023 16:28:00 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/A-simple-DQL-to-do-a-search-for-an-IP-to-host-in-Dynatrace/m-p/228830#M352</guid>
      <dc:creator>MarwanC</dc:creator>
      <dc:date>2023-11-15T16:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: A simple DQL to do a search for an IP to host in Dynatrace.</title>
      <link>https://community.dynatrace.com/t5/DQL/A-simple-DQL-to-do-a-search-for-an-IP-to-host-in-Dynatrace/m-p/228842#M354</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/64346"&gt;@MarwanC&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I hope I understand your request well. To be honest I am not a DQL guru I have just started to learn.&lt;/P&gt;&lt;P&gt;I would create a dashboard with this DQL (you can add other extra fields if you want).&lt;/P&gt;&lt;P&gt;fetch dt.entity.host&lt;BR /&gt;| fieldsAdd ipAddress, entity.detected_name&lt;BR /&gt;&lt;STRONG&gt;| filter in (ipAddress, array($IP) )&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In order to work well I created a variable = IP&lt;/P&gt;&lt;P&gt;Variable DQL:&lt;/P&gt;&lt;P&gt;fetch dt.entity.host&lt;BR /&gt;| fieldsAdd ipAddress&lt;BR /&gt;| fieldsRemove entity.name, id&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mizs_3-1700074964582.png" style="width: 632px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/15555i49643F03CF0D816C/image-dimensions/632x550?v=v2" width="632" height="550" role="button" title="Mizs_3-1700074964582.png" alt="Mizs_3-1700074964582.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the results, you can search hosts by IP address:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mizs_0-1700074310580.png" style="width: 650px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/15552iC656B8BB9664C005/image-dimensions/650x403?v=v2" width="650" height="403" role="button" title="Mizs_0-1700074310580.png" alt="Mizs_0-1700074310580.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mizs_1-1700074445585.png" style="width: 649px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/15553i8666335F4142B8D4/image-dimensions/649x155?v=v2" width="649" height="155" role="button" title="Mizs_1-1700074445585.png" alt="Mizs_1-1700074445585.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Mizső&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2023 19:03:08 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/A-simple-DQL-to-do-a-search-for-an-IP-to-host-in-Dynatrace/m-p/228842#M354</guid>
      <dc:creator>Mizső</dc:creator>
      <dc:date>2023-11-15T19:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: A simple DQL to do a search for an IP to host in Dynatrace.</title>
      <link>https://community.dynatrace.com/t5/DQL/A-simple-DQL-to-do-a-search-for-an-IP-to-host-in-Dynatrace/m-p/228895#M357</link>
      <description>&lt;P&gt;A very comprehensive answer&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2023 12:22:14 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/A-simple-DQL-to-do-a-search-for-an-IP-to-host-in-Dynatrace/m-p/228895#M357</guid>
      <dc:creator>radek_jasinski</dc:creator>
      <dc:date>2023-11-16T12:22:14Z</dc:date>
    </item>
  </channel>
</rss>

