Skip to main content

Bar Charts

Bar charts are useful for visually comparing the number of events that have occurred, such as the type of error that occurs the most 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 _sourceCategory | sort by _count

which would produce results such as:
AggResult

Create a bar chartā€‹

To add a panel with a barĀ chart:

  1. Create or open a Dashboard and click onĀ 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. Once the query runs you will need to flip 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
Status
Legal
Privacy Statement
Terms of Use

Copyright Ā© 2024 by Sumo Logic, Inc.