Skip to main content
Sumo Logic

Line Charts

Line charts are useful for displaying how data changes over time, where the X axis of a line chart displays the count of an item, and the Y axis is a timeline. To create a line chart, you need to use a query that provides more than one data point in the Aggregates tab. Then the line is drawn between the data points to show the change.

For example, you could use the following query to create a Line chart:

error | timeslice 1m | count by _timeslice

which would produce results such as:

To create a Line Chart:

  1. Run a query.
  2. In the Aggregates tab, choose the Line Chart icon to display the search results.

The data in the Aggregates tab is represented as a line chart.

For details on customizing the way your chart is displayed, see Edit Data Panels on the Dashboards Page