Document toolboxDocument toolbox

Chart aggregation

Overview

This chart displays information as a series of data points over an x-axis of time. The data points can be displayed as points, lines, or columns as this chart type offers several options for visualization.  

What data do I need for this widget?

The option to create this chart will be disabled unless your query groups events containing at least one numerical column.

Creating a chart aggregation

  1. Go to Data Search and open the required table.

  2. Perform the required operations to get the data you want to use in the chart.

  3. Click the gear icon on the toolbar and select Charts → Plots → Chart Aggregation

  4. Click and drag the column headers to the corresponding fields. This chart requires you to select one field:

    Required fieldData type
    Signals (you can drag more than one column).float, integer, duration
  5. The chart aggregation is displayed. Click the chart series names to show/hide them.

    If the columns added to the chart generate a large number of points in the graph, the application will warn you that it may cause a browser malfunction.

Customizing your chart aggregation

When the chart is displayed, chart tool icons are available in the upper-right of the window frame.

Click the paintbrush icon to display the options for customizing your chart. There are three different categories:

Note

When a non-temporal grouping is selected, the line chart (chart aggregation is a line chart) becomes a column chart. The paintbrush is not prepared to set a column chart.

Graph visualization

Use these options to choose how you want to visualize the chart.

In this area, you can change the font size clicking the A+ and A- buttons and select the required type of chart:

Line chartThis is the default style, which displays the data points connected by straight lines.
Area chartThis style fills in the area below the lines with colors.
Column chartThis style displays the data points as vertical bars.
Spline chartThis style displays the data points connected by smooth curved lines; useful for showing gradual changes. 
Area spline chartThis style creates a spline chart and fills in the area below the lines with colors.
Points and averagesThis style displays the individual data points along with lines representing the data average. 

Specify the options for the graph on which the chart is plotted in the Graph Options section:

StackedThis option groups data sets horizontally to facilitate comparison.
Stacked 100%This option applies the relative percentage of the different data points on a y-axis of 0-100%.
Show gridThis option shows/hides the grid in the background.
Null to zerosThis option transforms null values into 0.
Show chart pointsThis option shows/hides data points. This option is not available if you have selected the Points and averages or Column chart style.
Show all seriesThis option shows the complete series. This process may take several minutes.
Accumulate seriesThis option displays data values in a cumulative frequency.
Show legendThis option shows/hides the legend under the chart, indicating the name of the series and its color.
Logarithmic axisThis option displays data using a logarithmic scale, useful when there is a large range of quantities.

Choose Dark or Light to assign a color scheme. Select Apply settings to all to apply this scheme to all your current open charts.

Series

Here you can select the values you want to show/hide in the chart. This does not change the query itself. 

Series configuration

You can configure the different series in the chart and create bands using two series in order to measure fluctuations.

Click to show/hide vertical stripes indicating where the series have values higher than 0.

Select two series in the left area and click Create band to add a new band. You can create several bands, assign them different colors and rename them.

Working with chart aggregations

Hover over a point of the chart to see a tooltip with all the values.

You can hit the following keys to perform different visualization actions:

Shortcut keys

Description

SPACE

Activates or deactivates the limit series that makes the diagram show only the most significant values or all of them.

ALT + Left Click

Click on the chart to mark the point of a specific event, which will be visible when changing the chart type.

D

Deletes the created marks in all types of charts.

S

When you have several charts open, it activates/deactivates tooltip's synchronization in the one selected. This means that hovering over another chart will activate the tooltip in both.

A

When you have several charts open, it activates/deactivates tooltip's synchronization in all charts. This means that hovering over a chart will activate the tooltip in all of them.

?

Shows/hides the list of shortcut keys.


Query example

You can recreate the example shown in the first picture with the data from the following query and mapping the fields as follows:

from siem.logtrust.web.activity
  group every 15s by srcPort
  every 15s
  select count() as count
Required fieldColumn added
Signals (1)count
Signals (2)srcPort

In case you want an example with three signals, here is another query to construct another chart aggregation:

from siem.logtrust.web.activity
  group every 15s by contentLength, responseLength, responseTime
  every 15s
Required fieldColumn added
Signals (1)contentLength
Signals (2)responseLength
Signals (3)responseTime