Dashboards & Visualizations

graph capacity used relative to capacity

dinisco
Explorer

I'd like to take capacity info about a tablespace, volume, filesystem, or whatever and graph capacity used relative to the overall capacity. Ideally it could be presented in stacked columns that reveal values for capacity used, total capacity, and % used of total capacity (% used would be nice to have but not necessary).

It seems like the appropriate graph would be a filler gauge but I don't think it supports multiple gauges side by side (one for each tablespace, vol, file system, etc.). Stacking columns just adds one value to the other. Any ideas would be greatly appreciated.

Tags (2)
0 Karma

Ayn
Legend

Do you already have the data you want to use in an index? Like filesystem: space used + total space? Or if your input is something like df's output, even percentage used or available space?

With something like used space + available space, you should be able to achieve something along the lines of what you want by building a stacked column chart of these.

<yourbasesearch>
| chart first(space_used),first(space_available) by filesystem

As space_used + space_available will be equivalent to the total space, the total height of each column will show the total space.

Get Updates on the Splunk Community!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...