If you haven’t yet heard...Splunk dashboards are new and improved! We released a new dashboard framework as a beta app at .conf19, and have been working hard to improve it since then. This is the first in a series of (hopefully) many blogs describing new functionality in this release of the beta app. If you have any questions, enhancement requests, or bugs to report, please email dashboards-beta@splunk.com and our team will be sure to respond!
This blog post will cover the highest-impact features in the release. For notes on every feature, see the release notes on Splunkbase.
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!
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.
How many of you have been asking for a view-only mode for dashboards? This version’s release includes our first proof of concept of a view-only mode, which allows permissions to be set per-dashboard, per-role to include reading and/or writing. This leverages Enterprise’s core view permissioning structure to selectively hide certain dashboard functions - - for example, drilldowns, “Open in search”, and more. You can set view-only mode for a dashboard by going to Settings → User Interface → Views and clicking Permissions before selecting which roles have Read or Write privileges.
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!
The Splunk platform removes the barriers between data and action, empowering observability, IT and security teams to ensure their organizations are secure, resilient and innovative.
Founded in 2003, Splunk is a global company — with over 7,500 employees, Splunkers have received over 1,020 patents to date and availability in 21 regions around the world — and offers an open, extensible data platform that supports shared data across any environment so that all teams in an organization can get end-to-end visibility, with context, for every interaction and business process. Build a strong data foundation with Splunk.