Dashboards Beta App: What’s New in v0.4


This blog post will cover the highest-impact features in the release. For notes on every feature, see the release notes on Splunkbase.
Base & Chained Searches
They’ve finally arrived! If you’re not familiar with this from Simple XML, base searches allow for significant performance benefits on dashboards that have multiple visualizations that use the same data or similar queries. They allow for the first part of a search to be defined as a “base,” and allow for multiple visualizations to pipe the results from that single base search into their “chained” search. This allows for reuse of common query components. In the new dashboard beta, this is currently only available via source mode. You can create a base and chained search by converting your existing Simple XML dashboard, or creating a new one from scratch.
Good news: a base search is no more than your normal ds.search dataSource. In fact, a ds.search dataSource does not even know that it’s being used as a base search for another query! In this example, I’ve named my ds.search as “Base Search” for clarity:

Now, a search only becomes a base search after it’s referenced by another search. To do this, I use a brand new dataSource called ds.chain that references “Base Search” by using the extend option to specify the unique ID of the ds.search I want to chain from, and the query option to specify the query that the base search will be piped to. In this scenario, the unique ID of the ds.search is “ds_mr5cHiFU”. I’ve named this ds.chain as “Chain 1” for clarity:

In similar fashion, I can chain another ds.chain that refers to the “Chain 1” search as a base, essentially chaining many searches together. See docs for more info. Happy chaining!
Searches & Thresholding for Many Visualizations
Ask, and ye shall receive...you can now threshold rectangles and ellipses by powering them with searches! Just like any single value, attach a datasource to one of these shapes (no results will be showed, since it’s...a shape), then add thresholding to change the color conditionally based on those results:

Not only that, but many other visualizations have a full editor UI for thresholding as well, including marker and filler gauges. Go ahead, start exploring.
View-Only Permissions

There’s a lot more fun things coming down the line regarding enhancements to everything you’re seeing here, and much more. If you haven’t already, download the new Splunk Dashboards App (Beta) from Splunkbase to get started. If there’s anything in particular you are looking for, please feel free to email dashboards-beta@splunk.com — and make sure to check out a sample dashboard with key highlights from this release here!
Related Articles
About Splunk
The world’s leading organizations rely on Splunk, a Cisco company, to continuously strengthen digital resilience with our unified security and observability platform, powered by industry-leading AI.
Our customers trust Splunk’s award-winning security and observability solutions to secure and improve the reliability of their complex digital environments, at any scale.