<?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: Help with Data Explorer query (filter on disk) in Dashboarding</title>
    <link>https://community.dynatrace.com/t5/Dashboarding/Help-with-Data-Explorer-query-filter-on-disk/m-p/217600#M3103</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is weird that the solution provided by&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/18264"&gt;@dannemca&lt;/a&gt;&amp;nbsp;is not working for you. I tried on my side and it seems to work as expected.&lt;/P&gt;&lt;P&gt;Anyway, for your last query, maybe something like this could be easier to read/modify?&lt;/P&gt;&lt;LI-CODE lang="python"&gt;builtin:host.disk.usedPct:filter(and(or(in("dt.entity.host",entitySelector("type(host),tag(~"DiskMonitor:Global~")"))),or(in("dt.entity.disk",entitySelector("type(disk),entityName.in(~"I:\~",~"Z:\~",~"P:\~",~"K:\~",~"N:\~",~"L:\~",~"F:\~",~"D:\~",~"T:\~",~"J:\~",~"H:\~",~"M:\~",~"G:\~",~"E:\~",~"X:\~",~"C:\~")"))))):splitBy("dt.entity.host","dt.entity.disk"):sort(value(auto,descending)):limit(100)&lt;/LI-CODE&gt;&lt;P&gt;or even&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;builtin:host.disk.usedPct:filter(and(or(in("dt.entity.host",entitySelector("type(host),tag(~"DiskMonitor:Global~")"))),or(in("dt.entity.disk",entitySelector("type(disk),entityName.contains(~":\~")"))))):splitBy("dt.entity.host","dt.entity.disk"):sort(value(auto,descending)):limit(100)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 11 Jul 2023 18:08:56 GMT</pubDate>
    <dc:creator>chris_oggeri</dc:creator>
    <dc:date>2023-07-11T18:08:56Z</dc:date>
    <item>
      <title>Help with Data Explorer query (filter on disk)</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Help-with-Data-Explorer-query-filter-on-disk/m-p/216277#M3038</link>
      <description>&lt;P&gt;Team,&amp;nbsp; Since Dynatrace doesn't distinguish between local and NFS mounted disk I need to find a way to fix a Top List graph to exclude disks with '\\' in their name since that would represent NFS mounted disk.&amp;nbsp; The graph shows the top 100 disks in our environment ordered by disk.usedPct.&amp;nbsp; This way we know in advance what disks are filling up and about to trigger alarms.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is my Query&lt;/P&gt;
&lt;P&gt;builtin:host.disk.usedPct:splitBy("dt.entity.host","dt.entity.disk"):filter(not(contains("dt.entity.disk","\\"))):last:auto:sort(value(avg,descending)):limit(100)&lt;/P&gt;
&lt;P&gt;But it essentially results in no change because 'dt.entity.disk' isn't the cosmetic name of the disk but rather the ID '&lt;SPAN&gt;&lt;SPAN class=""&gt;DISK-0E49522BDC9250CE'. So, from what I can tell, I can't filter out things like, give me drives that start with 'E' or give me drives that don't start with '\\'.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Am i missing something? Has anyone else had to figure out a solution for this?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2023 07:37:37 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Help-with-Data-Explorer-query-filter-on-disk/m-p/216277#M3038</guid>
      <dc:creator>ct_27</dc:creator>
      <dc:date>2023-06-28T07:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Data Explorer query (filter on disk)</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Help-with-Data-Explorer-query-filter-on-disk/m-p/216279#M3039</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/38037"&gt;@ct_27&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;try this:&lt;/P&gt;&lt;P&gt;builtin:host.disk.usedPct:filter(not(in("dt.entity.disk",entitySelector("type(disk),entityName(~"\\~")")))):splitBy("dt.entity.host","dt.entity.disk"):last:auto:sort(value(avg,descending)):limit(100)&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2023 19:57:59 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Help-with-Data-Explorer-query-filter-on-disk/m-p/216279#M3039</guid>
      <dc:creator>dannemca</dc:creator>
      <dc:date>2023-06-27T19:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Data Explorer query (filter on disk)</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Help-with-Data-Explorer-query-filter-on-disk/m-p/216281#M3040</link>
      <description>&lt;P&gt;unfortunately it did not, but you have a great idea to use the entity selector.&amp;nbsp; I'm going to follow that lead and see where it takes me.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2023 20:32:40 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Help-with-Data-Explorer-query-filter-on-disk/m-p/216281#M3040</guid>
      <dc:creator>ct_27</dc:creator>
      <dc:date>2023-06-27T20:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Data Explorer query (filter on disk)</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Help-with-Data-Explorer-query-filter-on-disk/m-p/216374#M3041</link>
      <description>&lt;P&gt;That's odd, it worked just well to me. What are you getting with this query? Still returning '\\..." disks?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2023 12:34:20 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Help-with-Data-Explorer-query-filter-on-disk/m-p/216374#M3041</guid>
      <dc:creator>dannemca</dc:creator>
      <dc:date>2023-06-28T12:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Data Explorer query (filter on disk)</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Help-with-Data-Explorer-query-filter-on-disk/m-p/216388#M3042</link>
      <description>&lt;P&gt;[UPDATE 6/28 CT_27]&lt;/P&gt;&lt;P&gt;Nevermind.....once i applied the management zone it brought more things into view and a '\\' re-appeared.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ct_27_0-1687970788707.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/12525i44F5746320FB0618/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ct_27_0-1687970788707.png" alt="ct_27_0-1687970788707.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;(sorry for the heavy redaction)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/18264"&gt;@dannemca&lt;/a&gt;&amp;nbsp;it works now. Ok, so I know a computer only does what you tell it and I totally pasted in your suggested query yesterday, as did my co-worker. It was still showing disks that started with '\\'. We even then tried to adjust the query to get it working.&amp;nbsp; It always showed disks with '\\'.&lt;/P&gt;&lt;P&gt;I went in just now to give it a another try because I believe you when you said it worked for you.&amp;nbsp; Sure enough, it worked instantly as you said it would.&lt;/P&gt;&lt;P&gt;Like many things in DT, I simply can't explain it. But ultimately it is the solution to my problem and I am very appreciative of it.&amp;nbsp; Thank you again, this is great.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2023 16:47:09 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Help-with-Data-Explorer-query-filter-on-disk/m-p/216388#M3042</guid>
      <dc:creator>ct_27</dc:creator>
      <dc:date>2023-06-28T16:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Data Explorer query (filter on disk)</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Help-with-Data-Explorer-query-filter-on-disk/m-p/216395#M3043</link>
      <description>&lt;P&gt;Even I can't get the proper result anymore... gee. I sure, it worked yesterday, and I did used a specific MZ that contains only Windows boxes to avoid this "no \\ on result anyway".&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2023 17:17:38 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Help-with-Data-Explorer-query-filter-on-disk/m-p/216395#M3043</guid>
      <dc:creator>dannemca</dc:creator>
      <dc:date>2023-06-28T17:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Data Explorer query (filter on disk)</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Help-with-Data-Explorer-query-filter-on-disk/m-p/216405#M3044</link>
      <description>&lt;P&gt;This could be a bigger issue than i expected.......DT at some point in the past few weeks changed the way it detects drives.&amp;nbsp; Instead of just local and mapped drives shows, DT now detects any drive your computer ever touched. That includes network drives that may be holding say your AD Profile.&amp;nbsp; If that drive ever goes above a programmed threshold there is potential for DT to trigger an alert every time a machine accesses the drive which is over the threshold.&amp;nbsp; &amp;nbsp;Digging into this more to understand what Dynatrace has changed and what the potential risk and impact are.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2023 19:46:45 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Help-with-Data-Explorer-query-filter-on-disk/m-p/216405#M3044</guid>
      <dc:creator>ct_27</dc:creator>
      <dc:date>2023-06-28T19:46:45Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Data Explorer query (filter on disk)</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Help-with-Data-Explorer-query-filter-on-disk/m-p/217549#M3101</link>
      <description>&lt;P&gt;Because the negate does not appear to work a co-worker approached the issue from the other direction.&amp;nbsp; He's instead including most of the letter drives from A-Z.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;builtin:host.disk.usedPct:filter(and(or(in("dt.entity.host",entitySelector("type(host),tag(~"DiskMonitor:Global~")"))),or(in("dt.entity.disk",entitySelector("type(disk),entityName.equals(~"I:\~")")),in("dt.entity.disk",entitySelector("type(disk),entityName.equals(~"Z:\~")")),in("dt.entity.disk",entitySelector("type(disk),entityName.equals(~"P:\~")")),in("dt.entity.disk",entitySelector("type(disk),entityName.equals(~"K:\~")")),in("dt.entity.disk",entitySelector("type(disk),entityName.equals(~"N:\~")")),in("dt.entity.disk",entitySelector("type(disk),entityName.equals(~"L:\~")")),in("dt.entity.disk",entitySelector("type(disk),entityName.equals(~"F:\~")")),in("dt.entity.disk",entitySelector("type(disk),entityName.equals(~"D:\~")")),in("dt.entity.disk",entitySelector("type(disk),entityName.equals(~"T:\~")")),in("dt.entity.disk",entitySelector("type(disk),entityName.equals(~"J:\~")")),in("dt.entity.disk",entitySelector("type(disk),entityName.equals(~"H:\~")")),in("dt.entity.disk",entitySelector("type(disk),entityName.equals(~"M:\~")")),in("dt.entity.disk",entitySelector("type(disk),entityName.equals(~"G:\~")")),in("dt.entity.disk",entitySelector("type(disk),entityName.equals(~"E:\~")")),in("dt.entity.disk",entitySelector("type(disk),entityName.equals(~"X:\~")")),in("dt.entity.disk",entitySelector("type(disk),entityName.equals(~"C:\~")"))))):splitBy("dt.entity.host","dt.entity.disk"):sort(value(auto,descending)):limit(100)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2023 14:32:27 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Help-with-Data-Explorer-query-filter-on-disk/m-p/217549#M3101</guid>
      <dc:creator>ct_27</dc:creator>
      <dc:date>2023-07-11T14:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Data Explorer query (filter on disk)</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Help-with-Data-Explorer-query-filter-on-disk/m-p/217590#M3102</link>
      <description>&lt;P&gt;Lucky you it is not the entire alphabet&lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2023 17:25:53 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Help-with-Data-Explorer-query-filter-on-disk/m-p/217590#M3102</guid>
      <dc:creator>dannemca</dc:creator>
      <dc:date>2023-07-11T17:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Data Explorer query (filter on disk)</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Help-with-Data-Explorer-query-filter-on-disk/m-p/217600#M3103</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is weird that the solution provided by&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/18264"&gt;@dannemca&lt;/a&gt;&amp;nbsp;is not working for you. I tried on my side and it seems to work as expected.&lt;/P&gt;&lt;P&gt;Anyway, for your last query, maybe something like this could be easier to read/modify?&lt;/P&gt;&lt;LI-CODE lang="python"&gt;builtin:host.disk.usedPct:filter(and(or(in("dt.entity.host",entitySelector("type(host),tag(~"DiskMonitor:Global~")"))),or(in("dt.entity.disk",entitySelector("type(disk),entityName.in(~"I:\~",~"Z:\~",~"P:\~",~"K:\~",~"N:\~",~"L:\~",~"F:\~",~"D:\~",~"T:\~",~"J:\~",~"H:\~",~"M:\~",~"G:\~",~"E:\~",~"X:\~",~"C:\~")"))))):splitBy("dt.entity.host","dt.entity.disk"):sort(value(auto,descending)):limit(100)&lt;/LI-CODE&gt;&lt;P&gt;or even&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;builtin:host.disk.usedPct:filter(and(or(in("dt.entity.host",entitySelector("type(host),tag(~"DiskMonitor:Global~")"))),or(in("dt.entity.disk",entitySelector("type(disk),entityName.contains(~":\~")"))))):splitBy("dt.entity.host","dt.entity.disk"):sort(value(auto,descending)):limit(100)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2023 18:08:56 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Help-with-Data-Explorer-query-filter-on-disk/m-p/217600#M3103</guid>
      <dc:creator>chris_oggeri</dc:creator>
      <dc:date>2023-07-11T18:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Data Explorer query (filter on disk)</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Help-with-Data-Explorer-query-filter-on-disk/m-p/217840#M3104</link>
      <description>&lt;P&gt;Thank you, I merged what you had along with what&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/18264"&gt;@dannemca&lt;/a&gt;&amp;nbsp;provided and ended up with the below.&amp;nbsp; I agree what Dan provided should have 100% worked and it does 99%.&amp;nbsp; I think there is a bug in DT because of the 1,000 results I get in a table I have just one drive that seems to squeeze in that starts with \\. It makes no sense.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ultimately we landed here which is a merger of all the suggestions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;builtin:host.disk.usedPct:filter(
and(
	or(
	in("dt.entity.host",entitySelector("type(host),tag(~"DiskMonitor:Global~")"))
	),
	or(
not(in("dt.entity.disk",entitySelector("type(disk),entityName.contains(~"\\~")")))
	),
	or(
not(in("dt.entity.disk",entitySelector("type(disk),entityName.contains(~"~/~")")))
	)
)
):splitBy("dt.entity.host","dt.entity.disk"):sort(value(auto,descending)):limit(100)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once things cleared up we then started to see more drives with '/root' showing up so we added that to the query.&amp;nbsp; We did try not(in("dt.entity.disk",entitySelector("type(disk),entityName.in(~"\\~",~"/~")"))) but got bad results.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am thankful to all of you for helping provide a solution.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2023 17:03:17 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Help-with-Data-Explorer-query-filter-on-disk/m-p/217840#M3104</guid>
      <dc:creator>ct_27</dc:creator>
      <dc:date>2023-07-12T17:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Data Explorer query (filter on disk)</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Help-with-Data-Explorer-query-filter-on-disk/m-p/252548#M4146</link>
      <description>&lt;P&gt;Hi Chris&lt;/P&gt;&lt;P&gt;builtin:host.disk.free:filter(and(or(in("dt.entity.disk",entitySelector("type(disk),entityName.equals(~"/obidata~")"))),&lt;BR /&gt;or(in("dt.entity.disk",entitySelector("type(disk),entityName.equals(~"/opt~")")))))&lt;BR /&gt;:splitBy("dt.entity.host","dt.entity.disk"):avg:sort(value(avg,descending))&lt;/P&gt;&lt;P&gt;What is the issue with above query?, when we execute, output is coming. when we combine it is not coming&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2024 14:27:53 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Help-with-Data-Explorer-query-filter-on-disk/m-p/252548#M4146</guid>
      <dc:creator>sundarv1</dc:creator>
      <dc:date>2024-08-05T14:27:53Z</dc:date>
    </item>
  </channel>
</rss>

