<?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: DQL query on disk free space in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/DQL-query-on-disk-free-space/m-p/270248#M1721</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/77906"&gt;@akashsaini&lt;/a&gt;,&lt;BR /&gt;Normally, the unit will match the magnitude of your result. You can change the unit in the query display options.&lt;/P&gt;</description>
    <pubDate>Mon, 17 Feb 2025 20:15:20 GMT</pubDate>
    <dc:creator>gbaudart</dc:creator>
    <dc:date>2025-02-17T20:15:20Z</dc:date>
    <item>
      <title>DQL query on disk free space</title>
      <link>https://community.dynatrace.com/t5/DQL/DQL-query-on-disk-free-space/m-p/270009#M1707</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;We require DQL query on disk free space with OS type.&lt;/P&gt;&lt;P&gt;Information require through dql query --&lt;/P&gt;&lt;P&gt;disk free space for /opt/ directory&lt;BR /&gt;os type-like Linux ubuntu , AIX&lt;/P&gt;&lt;P&gt;Thanks in advance !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2025 13:15:15 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/DQL-query-on-disk-free-space/m-p/270009#M1707</guid>
      <dc:creator>akashsaini</dc:creator>
      <dc:date>2025-02-13T13:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: DQL query on disk free space</title>
      <link>https://community.dynatrace.com/t5/DQL/DQL-query-on-disk-free-space/m-p/270038#M1709</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/77906"&gt;@akashsaini&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;You can try this query :&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;timeseries avg(dt.host.disk.free), by: { dt.entity.host, dt.entity.disk }
| fieldsAdd dt.entity.host.name = entityName(dt.entity.host)
| fieldsAdd dt.entity.disk.name = entityName(dt.entity.disk)
| lookup [fetch dt.entity.host
  | fieldsAdd osType2=osType], sourceField:dt.entity.host, lookupField:id, fields:{osType2}
| fieldsAdd DiskFree = arrayAvg(`avg(dt.host.disk.free)`)
| fieldsKeep dt.entity.host.name,dt.entity.disk.name, osType2, DiskFree&lt;/LI-CODE&gt;&lt;P&gt;Let me know if it works&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2025 15:59:54 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/DQL-query-on-disk-free-space/m-p/270038#M1709</guid>
      <dc:creator>gbaudart</dc:creator>
      <dc:date>2025-02-13T15:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: DQL query on disk free space</title>
      <link>https://community.dynatrace.com/t5/DQL/DQL-query-on-disk-free-space/m-p/270198#M1714</link>
      <description>&lt;P&gt;Thanks Gbaudart,&lt;/P&gt;&lt;P&gt;query perfectly working.&lt;/P&gt;&lt;P&gt;Please confirm the disk free space in GB ?&lt;/P&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;DIV class=""&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;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 17 Feb 2025 08:38:15 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/DQL-query-on-disk-free-space/m-p/270198#M1714</guid>
      <dc:creator>akashsaini</dc:creator>
      <dc:date>2025-02-17T08:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: DQL query on disk free space</title>
      <link>https://community.dynatrace.com/t5/DQL/DQL-query-on-disk-free-space/m-p/270248#M1721</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/77906"&gt;@akashsaini&lt;/a&gt;,&lt;BR /&gt;Normally, the unit will match the magnitude of your result. You can change the unit in the query display options.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2025 20:15:20 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/DQL-query-on-disk-free-space/m-p/270248#M1721</guid>
      <dc:creator>gbaudart</dc:creator>
      <dc:date>2025-02-17T20:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: DQL query on disk free space</title>
      <link>https://community.dynatrace.com/t5/DQL/DQL-query-on-disk-free-space/m-p/274547#M1913</link>
      <description>&lt;P&gt;I am creating a Dashboad to pull the disk usage for windows and Linux Servers, for example in windows server (C. D. e) and Linux Server ,(/tmp, /root) can you please advise. should i use Query based or Metric based.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Apr 2025 10:09:07 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/DQL-query-on-disk-free-space/m-p/274547#M1913</guid>
      <dc:creator>manog1978</dc:creator>
      <dc:date>2025-04-07T10:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: DQL query on disk free space</title>
      <link>https://community.dynatrace.com/t5/DQL/DQL-query-on-disk-free-space/m-p/274555#M1915</link>
      <description>&lt;P&gt;the following query works for percentage based, i would like to get the GB how much used and how much free.&lt;/P&gt;&lt;P&gt;timeseries avg(dt.host.disk.free), by: { dt.entity.host, dt.entity.disk }&lt;BR /&gt;| fieldsAdd dt.entity.host.name = entityName(dt.entity.host)&lt;BR /&gt;| fieldsAdd dt.entity.disk.name = entityName(dt.entity.disk)&lt;BR /&gt;| lookup [fetch dt.entity.host&lt;BR /&gt;| fieldsAdd osType2=osType], sourceField:dt.entity.host, lookupField:id, fields:{osType2}&lt;BR /&gt;| fieldsAdd DiskFree = arrayAvg(`avg(dt.host.disk.free)`)&lt;BR /&gt;| fieldsAdd DiskUsage = 100 - DiskFree&lt;BR /&gt;| fieldsKeep dt.entity.host.name, dt.entity.disk.name, osType2, DiskFree, DiskUsage&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;| sort DiskUsage asc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Apr 2025 10:56:40 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/DQL-query-on-disk-free-space/m-p/274555#M1915</guid>
      <dc:creator>manog1978</dc:creator>
      <dc:date>2025-04-07T10:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: DQL query on disk free space</title>
      <link>https://community.dynatrace.com/t5/DQL/DQL-query-on-disk-free-space/m-p/298523#M3319</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/77777"&gt;@manog1978&lt;/a&gt;&lt;/P&gt;&lt;P&gt;You can use this query for available space in value.&lt;/P&gt;&lt;DIV class=""&gt;&lt;EM&gt;&lt;SPAN class=""&gt;timeseries &lt;/SPAN&gt;max(dt.host.disk.avail), &lt;SPAN class=""&gt;by&lt;/SPAN&gt;: { &lt;SPAN class=""&gt;dt.entity.host&lt;/SPAN&gt;, &lt;SPAN class=""&gt;dt.entity.disk&lt;/SPAN&gt; }&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;EM&gt;| &lt;SPAN class=""&gt;fieldsAdd &lt;/SPAN&gt;dt.entity.host.name = &lt;SPAN class=""&gt;entityName(&lt;/SPAN&gt;&lt;SPAN class=""&gt;dt.entity.host&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;EM&gt;| &lt;SPAN class=""&gt;fieldsAdd &lt;/SPAN&gt;dt.entity.disk.name = &lt;SPAN class=""&gt;entityName(&lt;/SPAN&gt;&lt;SPAN class=""&gt;dt.entity.disk&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;EM&gt;| &lt;SPAN class=""&gt;lookup &lt;/SPAN&gt;[&lt;SPAN class=""&gt;fetch &lt;/SPAN&gt;&lt;SPAN class=""&gt;dt.entity.host&lt;/SPAN&gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;EM&gt;| &lt;SPAN class=""&gt;fieldsAdd &lt;/SPAN&gt;osType2=osType], &lt;SPAN class=""&gt;sourceField&lt;/SPAN&gt;:dt.entity.host, &lt;SPAN class=""&gt;lookupField&lt;/SPAN&gt;:id, &lt;SPAN class=""&gt;fields&lt;/SPAN&gt;:{osType2}&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;EM&gt;| &lt;SPAN class=""&gt;fieldsAdd &lt;/SPAN&gt;DiskFree = arrayAvg(&lt;SPAN class=""&gt;`&lt;/SPAN&gt;&lt;SPAN class=""&gt;max(dt.host.disk.avail)&lt;/SPAN&gt;&lt;SPAN class=""&gt;`&lt;/SPAN&gt;)&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;EM&gt;| &lt;SPAN class=""&gt;fieldsKeep &lt;/SPAN&gt;&lt;SPAN class=""&gt;dt.entity.host.name&lt;/SPAN&gt;,&lt;SPAN class=""&gt;dt.entity.disk.name&lt;/SPAN&gt;, osType2, DiskFree&lt;/EM&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 28 Apr 2026 07:10:02 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/DQL-query-on-disk-free-space/m-p/298523#M3319</guid>
      <dc:creator>alagurajpl</dc:creator>
      <dc:date>2026-04-28T07:10:02Z</dc:date>
    </item>
  </channel>
</rss>

