Skip to main content
Version: 5.3

Single Value

Overview

single_value

Single Value is a type of data visualization that focuses on displaying and emphasizing a single numeric value or metric. This approach to data visualization is particularly effective in situations where a specific metric needs to be presented quickly and clearly. Using a metric allows you to focus on one key indicator, minimizing noise and allowing users to quickly understand key trends or achievements.

One of the benefits of using a metric is its simplicity and clarity. Visualizing a single numeric value is usually done with a simple representation of the number and additional displays such as, a graph of the change in value, a trend, and a trend graph.

Settings Single Value

Settings

Settings Tab of Single Value Visualization

Single Value has the following set of parameters in the Settings tab:

ParameterDescriptionJSON Field
Metric LabelOptional field that controls the metric name - text that is displayed under the value. Dashboard token values can be substituted.general.label
ValueRequired field that controls the displayed metric value (column from query results).general.fieldForValue
Align to centerCheckbox controls column content alignment: when enabled, values are centered (default value), when disabled - left-aligned.general.isCentered
Type of valueSwitch for selecting the displayed value type. Numeric type is set by default. Affects field display method: when numeric type is selected, parameters Delimiter, Units of measurement, Shorten large numbers become available, as well as trend fields and Show Trend option. In String variant, trend graph is not displayed.general.valueType
DelimiterAllows selecting a delimiter symbol for formatting numbers with thousand separators (dot, space, or comma). For example, with number 1234567 and selected comma, result will be 1,234,567. Works only for numeric valuesshow.delimiter
Units of measurementAllows entering units of measurement that will be displayed next to visualization name with dot (for example: Name • pcs). Works only for numeric valuesshow.suffix
Shorten large numbersConverts large numbers to more readable format with abbreviated units (for example, 1500 → "1.5K", 2000000 → "2M"). Works only for numeric valuesgeneral.shortenBigNumbers
IconAllows adding an icon before the main visualization valueicon
Field for trendOptional field responsible for displaying metric trend change.general.fieldForTrend
Trend Unit Selection FieldDefines trend display units - in percentages or in units.general.trendUnit
Show Trend SparklineEnables or disables trend graph display for visualization. Works only for numeric valuesshow.sparkline

These parameters are applied to the visualization as follows:

Settings Tab Influence Scheme

  1. Metric Label (label)
  2. Units of measurement (suffix)
  3. Trend indicator (depends on fieldForTrend, trendUnit)
  4. Icon - image before value (icon)
  5. Trend - displayed graph (depends on valueType and sparkline)
  6. Main value (fieldForValue)
  7. Delimiter (delimiter)
  8. Abbreviated suffix for large number transformation (shortenBigNumbers)

Display

Trend Mode Display of Single Value Visualization Trend Mode Display of Single Value Visualization

Single Value has the following set of parameters in the Display tab:

ParameterDescriptionJSON Field
Color SettingsAllows selecting what color settings apply to - value or trendcolor.isRange
Color Palette FieldAllows setting a set of color rules - by ranges for numeric values or by specific values for strings. Works only in Value modecolor.color
ObjectDefines what gets colored when condition matches: background or value. Works only in Value modecolor.invert
Direction ColorDefines color scheme of trend indicators. Classic is applied by default. Reverse trend palette works only in Trend modecolor.indicatorColor

Display in Value mode

Graph in object mode with palette on Text

Graph in object mode with palette on Background

Display in Trend mode (default and reverse palette)

Graph in Trend mode by default

Transition

Trend Mode Display of Single Value Visualization Trend Mode Display of Single Value Visualization Trend Mode Display of Single Value Visualization

Single Value has the following set of parameters in the Transition tab:

ParameterDescriptionJSON Field
Link TypeAllows selecting type from list: Search, Arbitrary Link and Token Change. Determines visualization behavior when clicked. Available options:

Search - when search query exists on visualization card, link icon is displayed in upper right corner. When clicking anywhere on card, transition to search page occurs, with search bar automatically filled with specified query.

Arbitrary Link - when custom URL is specified, link icon is displayed. Clicking transitions to given address.

Token Change - when clicking, dashboard token values are changed.
drilldown.drilldownType
SearchFields for specifying search query. Works only in search modedrilldown.drilldownQuery
Time FilterAllows selecting and configuring time interval filter. Works only in search modedrilldown.drilldownSelectTimeToken
Arbitrary LinkField for specifying custom link Works only in arbitrary link modedrilldown.drilldownText
Add TokenAllows setting dashboard token list and their values. Each token is specified as name-value pair. Works only in token change modedrilldown.drilldownTokens

These parameters are applied to the visualization as follows:

Transition Tab Settings Influence Scheme

Tooltip for links

note

When hovering over link icon, a tooltip appears containing full link text or search query.


Creating a Single Value

To create this type of visualization, use a query that returns an aggregation. This can be a count of some values, sum, count of unique values, etc. Smart Monitor provides several aggregating commands. For Single Value type, stats is considered.

Query Example
source winlog_auth*
| stats count(event.action)

After executing this query in the Statistics tab, the following result will be obtained:

If you go to the Visualization tab. By default (if query doesn't use timeaggs and timechart), you'll see Table View visualization:

In the first dropdown list, select Metric. After changing the parameter, an empty rectangle will be displayed because parameters aren't configured. Below, specify the required Value Field parameter, select field from dropdown list, for example: count(event.action). Result will be:

Now this visualization can be added to dashboard by creating new one or selecting existing. Click Add to Dashboard button and fill modal window:

Then click Save button. Visualization is created and added.