Skip to main content

Bar Charts

Bar charts are useful for visually comparing the number of events that have occurred, such as which type of error occurs most often in your system. To create a Bar chart, use a search query that provides at least a few data points in the Aggregates tab.

For example, you'd use the following query to create a simple Bar chart:

(error OR fail*) AND exception | count by | sort by _count

This query produces results such as:
AggResult

Create a Bar chart​

To add a panel with a bar chart:

  1. Create or open a dashboard and click Add Panel > Time Series or Add Panel > Categorical.
    time series or categorical
  2. Provide a metric or log query and press Enter for it to run.
  3. After the query runs, change the chart type to Bar.
    Dashboard Bar Chart
  4. Modify the chart as desired.
  5. Click the Add to Dashboard button on the top right of the window to add the panel to your dashboard.
    Add to Dashboard button
Legal
Privacy Statement
Terms of Use
CA Privacy Notice

© 2010 – 2026 Sumo Logic, Inc.