Kaspersky Unified Monitoring and Analysis Platform

Custom widget

You can use this widget to compose event searches and extract analytics from the results. Depending on the selected Graph type value, two or three parameter tabs are available:

  • Selectors—this tab is used to define the widget type and to compose the search for the analytics.
  • Actions—this tab is used to configure chart scale. This tab only available for graph types (see below) Bar chart, Line chart, Date Histogram.
  • wrench—this tab is used to configure widget analytics display.

The following parameters are available for the Selectors tab:

  • Graph—this drop-down list is used to select widget graph type. Available options:
    • Pie chart
    • Bar chart
    • Counter
    • Line chart
    • Table
    • Date Histogram
  • Tenant—drop-down list for selecting the tenant whose data will be used to display analytics. The As dashboard setting is used by default.
  • Time period—the drop-down list to configure the time period for which the analytics must be displayed. Available options:
    • As dashboard—when this option is selected, the widget time period value reflects the period that was configured for the Dashboard. This option is selected by default.
    • 1 hour—receive analytics for the previous hour.
    • 1 day—receive analytics for the previous day.
    • 7 days—receive analytics for the previous 7 days.
    • 30 days—receive analytics for the previous 30 days.
    • In period—receive analytics for the custom time period. The time period is set using the calendar that is display when this option is selected.
  • Storage—the Storage where the search must be performed.
  • Event search group of settings consisting of Builder and SQL query tabs—this groups of settings is used to compose searches to extract data from events and to define how extracted data must be displayed in the widget.
    • Builder—this tab contains the event search query parameters equivalent to event filter builder parameters:

      Search conditions example

      • SELECT—use these fields to define event fields that must be extracted for analytics. The number of available fields depends on the selected widget graph type (see above).

        In the left drop-down list you can select event fields from required for analytics.

        The middle field displays what the selected field is used for in the widget: metric or value.

        When the Table widget type is selected, the values in the middle fields become available for editing and are displayed as the names of columns. Only ANSII-ASCII characters can be used for values.

        In the right drop-down list you can select how the metric type event field values must be processed for the widget:

        • count—select this option to count events. This option is available only for the ID event field.
        • max—select this option to display the maximum event field value from the event selection.
        • min—select this option to display the minimum event field value from the event selection.
        • avg—select this option to display the average event field value from the event selection.
        • sum—select this option to display the sum of event field values from the event selection.
      • FROM—this drop-down list is used to select data source type. Only events option is available for selection.
      • WHERE—this group of settings is used to create search conditions:

        In the left drop-down list you can select the event field you want to use as a filter.

        In the middle drop-down list you can select the required operator. Available operators vary based on the chosen event field's value type.

        In the right you can select or enter the value of the event field. Depending on the selected event field value type, you may have to input the value manually, select it in the drop-down list, or select it on the calendar.

        You can add search conditions using the Add condition button or delete them using the button with the cross icon.

        You can also add group conditions using the Add group button. By default, group conditions are added with the AND operator, but you can switch the operator between AND, OR, and NOT by clicking the operator name. Available values: AND, OR, NOT. Group conditions are deleted using the Delete group button.

      • GROUP BY – this drop-down list is used to select event fields to group events by. This parameter is not available for Counter graph type.
      • ORDER BY – this drop-down list is used to define how the information from search results must be sorted in widget. This parameter is not available for Date Histogram and Counter graph types.

        In the left drop-down list you can select the value, metric or event field to use for sorting.

        In the right drop-down list you can select the sorting order: ASC for ascending or DESC for descending.

        For Table graph types it is possible for add sorting conditions using the ADD COLUMN button.

      • LIMIT—this field is used to set the maximum number of data points for the widget. This parameter is not available for Date Histogram and Counter graph types.
    • SQL query—this tab contains a field to enter a search query equivalent to filtering events using SQL syntax.

The following parameters are available for the Actions tab:

  • The Y-min and Y-max fields are used to define the scale of the Y-axis. The Decimals field on the left is used to set the rounding parameter for the Y-axis values.
  • The X-min and X-max fields are used to define the scale of the X-axis. The Decimals field on the right is used to set the rounding parameter for the X-axis values.
  • Line-width and Point size fields are available for Line chart graph type and is used to configure the plot line.

The following parameters are available for the wrench tab:

  • Name—the field for the name of the widget. Must contain from 1 to 128 Unicode characters.
  • Description—the field for the widget description. You can add up to 512 Unicode characters describing the widget.
  • Color—the drop-down list to select the color in which the information is displayed:
    • default—use your browser default font color.
    • green
    • red
    • blue
    • yellow
  • Horizontal—turn on this toggle switch if you want to use horizontal histogram instead of vertical. This toggle switch is turned off by default.
  • Show legend—turn off this toggle switch if you don't want the widget to display the legend for the widget analytics. This toggle switch is turned on by default.
  • Show nulls in legend—turn on this toggle switch if you want the legend for the widget analytics to include parameters with zero values. This toggle switch is turned off by default.
  • Decimals—the field to enter the number of decimals to which the displayed value must be rounded off. The default value is auto.