Skip to main content
Sumo Logic

Numerical Single Value Charts

A single value chart is useful for displaying the results of a query that returns only a single value to make that value stand out at a glance. If the query returns more than one value in the Aggregates tab, only the first value is displayed in the single value chart.  A numerical single value chart displays an important metric for single-glance analysis. For example, the number of errors generated by your site.

Single value charts allow for only three digits in the returned values, and they use SI prefixes to define the values.

This simple query provides a single value as a result:

error | count

for example:

If your query provides more than a single result, when you create a Single Value chart, only the first result from the table in the Aggregates tab is displayed. 

If your query does not meet the requirements for displaying a Single Value chart, for example, if there are no results or if it is a null result, the Single Value icon will appear grayed out in the display options. But you can also customize how a chart with no results displays in the properties.

Create a Numerical Single Value chart

  1. Run a query for a single value.
  2. In the Aggregates tab, choose the Single Value icon to display the results graphically. 


    The single value chart is displayed, using default colors and text. 
    Single value chart (numeric)
  3. (Optional) Click Add to Dashboard if you'd like to save the chart as a panel.

Modify a Numerical Single Value chart

  1. On the Search page, in the Aggregates tab, select the Settings icon.
  2. Select Change Properties. Here you can change:

    • When Data is Available. When data is available for this query, the chart will use these properties:
      • Color. Override the default color of text to a new color.
      • Display color on the background. Activate this check box to use the selected color as a background. The text will be black or white depending on the color value.
      •  Numeric Value. Activate this check box to show numeric value. Deactivate it to not display a number.
      • Unit. Define the unit to append to the value. Maximum length is 6 characters.
    • When Data is not Available. When no data is available for this query, all When Data is Availableoptions are ignored. But if the settings below are not configured, the chart will display no information.
      • Use the following settings. Activate this check box to display customized values for when no data is available.
      • Default Value. Enter the message you would like to display when no data is available. The maximum length is 8 characters.
      • Background color. Select a default background color to display when no data is available. The default is gray.
    • Click Save to save changes. 
  3. Colors by Value Range. Add colors by a value range. For example, you could choose a value from 0 to 1 as green, to show no errors. Then click Add, and add a value from 1 to Any as red, to show that errors have occurred. Click Save to save each range, then click Save to save changes. 

     
  4. Manage Labels. This option allows you to enable a Title and a Description, including the text displayed. Click Save to save changes.