Viewing Query Viewer Results

Where: Navigator > Resources > Query Viewers

To view query viewer results in the default view:

Double-click a query viewer.

The query runs, and returns results in the Viewer on the current state of the network and event flow.

Alternatively, you can add the result of a query viewer directly to a dashboard. For information on this, see Adding Query Viewers to Dashboards.

To view query viewer results in different formats:

  1. Right-click the query viewer and select View Data as > <Display Format> then choose one of these options:

    Display Formats of Query Results

    Format

    Description

    Bar Chart

    Display query results as a bar chart.

    Horizontal Bar Chart

    Display query results as a horizontal bar chart.

    Pie Chart

    Display query results as a pie chart.

    Table

    Display query results in table format.

    Note: Baselines can only be applied to or viewed for query results shown in table format. (For more about establishing and using baselines, see Defining and Using Baselines.)

    Note: By default, chart-style views (Pie and Bar charts) are limited to a maximum of 20 results. Table views can retrieve up to 10,000 rows of data, so it is possible the results in chart views and table views for the same query viewer might not match.

    To allow for more results in a chart view, select the Use classic charts option in Global Preferences. By default, classic charts display a maximum of 99 results. To increase that number, add the following property to the console.properties file and specify the desired value:

    queryviewer.max.dashboard.chart.rows

    For information about editing the console.properties file, see the ESM Administrator Guide.

  2. Details on how to read and manipulate query results for each of these formats are provided.

  3. Select fields for Values and Point Labels.

Example view settings:

For example, for the Event Counts by Hour of Day query viewer, selecting Count(Event ID) for Values (the y axis) and Hour of Day (or Timestamp) for Point Labels (the x axis) results in the following display showing the event count for each hour of the day. The event count is depicted on the vertical y axis, with higher bars representing a higher event count for that hour. The hour of day (time) is represented on the horizontal x axis. The event count is shown for the last 24 hours starting at 11 am.

Understanding the results view:

The results are displayed in the Viewer. The following example shows the “Event Counts By Hour of Day” query result as table, bar chart, pie chart.

Notice that the time range for the base query is shown on the lower left of the query viewer results. Hover the cursor over the time range to see an annotated view of start and end times (data collection start time and data last received). This time range comes from the base query. (Another way to see the query time range is to open the query viewer in the editor and double-click *Query in the Attributes display to drill down to the base query editor, which shows query start and end times.)

Following is the Time Range of Base Query: