Splunk Cloud Platform

Splunk Dashboard Studio

Part 5: Add a single value visualization

In this part of the tutorial, you'll add total revenue as a single value visualization to your dashboard. You can add a single value by attaching the visualization, created with a chain search, to a data source and adjusting visual formatting options. By adding total revenue as a single value in the Buttercup Games dashboard, you can highlight an important metric in a visually compelling way.

  1. Select the add chart icon (A bar graph as an icon.) in the editing toolbar, and then select Single Value.
  2. In the Chain Search section of the Select Search panel, select + Create Chain Search.
  3. Name the data source Total Revenue.
  4. Select Most Purchased Games in the Parent Search drop-down menu.
  5. Add your extended search. For this tutorial, copy and paste the following search into the Total Revenue field:
    | stats sum(Revenue)
    
    This sums up all values under the Revenue column in our original data source.
  6. Select Apply & Close.
  7. Add a title to the single value visualization. In the Configuration panel, enter Total Revenue in the Title input field.

    You can also add a title and description by using the Add Markdown icon in the editing toolbar and entering ### Total Revenue in the text box.

  8. In the Selected Data Field section, make sure that sum(Revenue) (number) is selected.
  9. In the Major value & trend section, follow these steps:
    1. Change the Unit position to Before.
    2. Enter $ for the Unit label.
    3. Increase the Precision value to 2.
  10. In the Coloring section, change the Static background to transparent.
  11. Move and resize the single value so that it fits within the middle rectangle on the left side of the canvas.

After completing Part 5, your single value visualization look similar to the following:

A single value visualization of Total Revenue in a week.

Next step

You've completed Part 5 of the Splunk Dashboard Studio tutorial.

Now your dashboard has a single value visualization. Next, you'll continue to build on your dashboard by showing the connection between geographic locations and purchases. Continue to Part 6: Add a map.

Last modified on 30 June, 2023
Part 4: Add a line chart   Part 6: Add a map

This documentation applies to the following versions of Splunk Cloud Platform: 9.3.2408, 9.0.2303, 9.0.2305, 9.1.2308, 9.1.2312, 9.2.2403, 9.2.2406 (latest FedRAMP release)


Was this topic useful?







You must be logged into splunk.com in order to post comments. Log in now.

Please try to keep this discussion focused on the content covered in this documentation topic. If you have a more general question about Splunk functionality or are experiencing a difficulty with Splunk, consider posting a question to Splunkbase Answers.

0 out of 1000 Characters