Range Bar

This widget is used to show a range of values as a bar graph. Unlike a bar graph, the bars in a range bar need not start at zero. Each bar is rendered as a range of specified values.

Use the following information to configure the widget:

Field Description
Fetch data from source
Query

Enter a search query.

  • To start an EQL statement, enter USE.
  • To start an SQL statement, enter SELECT.

You can search based on filter and time Bloks as well. After you enter the search query, the columns from the query are used as field options in the Range bar widget configuration section.

For more information about EQL search syntax, see Event Query Language Reference.

Date & Time You can enter absolute and relative time ranges.

For example, enter -5h as a relative time range to display results for events that occurred in the past 5 hours.

For more information and examples, see Time Range Expressions.

Range bar widget configuration
X-axis data Select the column name to define the X-axis.
X-axis label Define the label name for the X-axis that is displayed on the widget.
Y-axis data (ranges) Select the two columns to define the Y-axis of the widget.
Y-axis label Define the label name for the Y-axis that is displayed on the widget.
Show legends Select the check box to display legends on the chart.
Show Column Labels

Turn on the toggle to show or turn off to hide the data point on the range.

Default: ON

Show inverted Select the check box to invert the X-axis and Y-axis values.
Categorize by Define the column name by which the Y-axis data is combined into a series.
Widget description Enter a short description for the widget. The description is displayed on the Advanced Dashboard when you hover over the widget.
Auto load

Turn on the toggle to automatically load widget data on the Advanced Dashboard as soon as you save the widget or when you navigate to the dashboard.

Disabling the Auto load option also disables the Auto refresh option. However, you can manually refresh the widget on the Advanced Dashboard to load its data.

Default:

  • Disabled for widgets created in LogLogic LMI 6.3.1 and later
  • Enabled for the widgets created in LogLogic LMI 6.3.0 and earlier
Auto refresh

Turn on the toggle to refresh the widget every few seconds.

This setting is enabled only if the Auto Load option is enabled.

Default: OFF

Refresh widget every If Auto refresh is set to ON, then enter a time interval in seconds to refresh the widget. Refresh action starts after the data is completely retrieved and displayed.

Example Search Query

use LogLogic_System_CPU_Load_1_Min | GROUP BY hours(lls_time, 1) | COLUMNS hours(lls_time, 1) AS Time, MIN(lls_loadAvg) AS MinLoad, MAX(lls_loadAvg) AS MaxLoad, COUNT(lls_loadAvg) | lls_time IN -1d
In this example, lls_time values are plotted on the X-axis, and the range between MinLoad and MaxLoad on the Y-axis.

Related Topics