# Capacity management data explorer filter on single drive letter

**URL:** <https://community.dynatrace.com/t/capacity-management-data-explorer-filter-on-single-drive-letter/41302>\
**Category:** Dashboarding\
**Tags:** data-explorer, dashboards\
**Created:** [August 22, 2023, 3:32pm UTC](https://community.dynatrace.com/t/capacity-management-data-explorer-filter-on-single-drive-letter/41302 "2023-08-22T15:32:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sbarry-a360](https://avatars.discourse-cdn.com/v4/letter/s/3da27b/32.png) [@sbarry-a360](https://community.dynatrace.com/u/sbarry-a360)\
**Post date:** [August 22, 2023, 3:32pm UTC](https://community.dynatrace.com/t/capacity-management-data-explorer-filter-on-single-drive-letter/41302/1 "2023-08-22T15:32:49Z")

</div>

I am trying to create a custom dashboard for monitoring a specific local drive.&nbsp; Using the data explorer for the capacity management dashboard, I can see the larger data set of all local drives, but I wanted to filter this down to just a particular drive that I’m interested in.&nbsp; Here’s the basic query I’m presented with that I’d like to focus on.&nbsp;&nbsp;builtin:host.disk.usedPct:splitBy(“dt.entity.host”,“dt.entity.disk”):avg:sort(value(avg,descending)):limit(20)

Thanks,

---

<div class="post-metadata">

**Author:** ![Mohamed\_Hamdy](https://avatars.discourse-cdn.com/v4/letter/m/7ab992/32.png) [@Mohamed\_Hamdy](https://community.dynatrace.com/u/Mohamed_Hamdy)\
**Post date:** [August 22, 2023, 5:38pm UTC](https://community.dynatrace.com/t/capacity-management-data-explorer-filter-on-single-drive-letter/41302/2 "2023-08-22T17:38:10Z")

</div>

Hi&nbsp;[@sbarry-a360](https://community.dynatrace.com/user/64306),

you can use the one you provided to split by host & disk, also, you don’t need to create a dashboard from scratch you can use the attached dashboard, just change the file to JSON and import it to your environment and edit it, this was found on the Dynatrace demo environment.

Best Regards,

Mohamed  
[Capacity and Infrastructure Optimization Management.txt](https://community.dynatrace.com/uploads/short-url/hUTYa1u19hf7SkIJd04AdhR3L95.txt) (32.5 KB)

---

<div class="post-metadata">

**Author:** ![Mohamed\_Hamdy](https://avatars.discourse-cdn.com/v4/letter/m/7ab992/32.png) [@Mohamed\_Hamdy](https://community.dynatrace.com/u/Mohamed_Hamdy)\
**Post date:** [August 22, 2023, 5:43pm UTC](https://community.dynatrace.com/t/capacity-management-data-explorer-filter-on-single-drive-letter/41302/3 "2023-08-22T17:43:22Z")

</div>

also, don’t forget to increase the limit based on your requirements, Top list accepts up to 100,

builtin:host.disk.usedPct:splitBy(“dt.entity.host”,“dt.entity.disk”):avg:sort(value(avg,descending)):limit(100)

and Table & Honeycomb accepts the maximum
