Count Function Type

Use numerical widgets to visualize the count of mathematical operation. Use the search query to get the data. You could also compare numbers with multiple queries. Depending on the various combinations of data list you choose, you could build different numerical widgets. 

Create Count Function Type

Perform the following steps to build a count function type:

1. On the dashboard, click the Add Widget Add widget icon button. The widget library is displayed.

2. Click Build your widget.

3. On the right panel, select Numerical widget.

4. On the left pane, select Vulnerability Management application.

5. Provide a name for the widget and enable the Show description on widget check box to display widget description.

6. Select the Function Type as Count.

7. Choose Regular as Widget Representation.

count widget details

8. Click the Query Settings.

9. Choose the Display result as:

or

Unique Vulnerability Count ExamplesUnique Vulnerability Count Examples

Depending on the various combinations of data list you choose, the unique vulnerability count will get displayed. Here is an example screenshot that displays the Unique Vulnerability Count.

Example of Unique Vulnerability Count

In your existing Trending dashboard if you enable Unique Vulnerability Count check box and click Save a Confirmation window is displayed. If you click Yes, all the trending points and historical data of the dashboard will be permanently deleted. Here is an example screenshot that displays the Confirmation window.

Example of Confirmation Window

10. Define the search query. The count of the search query is displayed in the widget.

For information on search queries, refer to Search Tutorial. Using the Search Action Menusearch action menu, you can view the frequently-used QQL queries, save, and manage them with ease. Looking for the  different actions on the search queries, see Search Actions.

11. Select the Compare with another reference query check box if you want to compare two data points in a single widget.

12. Define the search query for the second data point. The count of the search query is displayed in the widget for comparison.

13. In Comparison Label provide a label to be displayed on the widget for the comparison of the two data points.

comparison of queries in count widget

14. Select the comparison for the two data points. Choose if the second data point is superset, subset, or a distinct set of the first query you provided.

Once you build the queries, you can configure additional parameters for the widget such as enabling trending, widget preferences, and widget rules.

You can view the preview of the widget and configure the parameters as per your requirement.

15. Click Add to Dashboard to complete widget creation and view the widget on the dashboard. In Add widgets in dashboards window you can provide names of up to 10 dashboards to add the widget. Click Add.

Add widget in dashboards window

You are directed to the dashboard. The added widget is displayed on the dashboard. The following screenshot displays the recently created widget displayed on the dashboard: