Skip to main content

Table Charts

Table charts are the default chart type in the Aggregates tab. They are useful for listing event types and counts, such as the most frequent type of error in your system. To create a table 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 table chart:

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

This query produces results such as:
AggResult

Create a Table chart​

To add a panel with a table 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. You can create Log and Metric queries on the same panel.

    Log query:

    Enter your aggregate search query in the text box and press Enter. Only search results that have been aggregated using a group or aggregate operator can be charted. See Group or Aggregate Operators for a list.
    Add log query

    Metrics query:

    Click the left-most dropdown option and select Metrics. For best results, learn the basics of creating metrics queries first. By default, the query builder is set to Logs.
    Metrics selection for query builder

    Build the metrics query in Metrics Search.

  3. After the query runs, change the chart type to Table.

    1. (Optional) Missing Data Display. Enter the text to display when data is missing.
    2. (Optional) Font Size. Font size of the displayed text. The default is 12.
    3. (Optional) Decimals. Sets the precision of the displayed units. Select the number of decimals to show with a unit, up to 10.
    4. (Optional) Rows Per Page. Set the number of rows to display in the table.
      new table 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

If your query looks for URLs, use the tourl operator to display them as working links in the table chart.

For example, if you used this query to search for hits to the Sumo Logic Help system:

=aws/cloudtrail
| keyvalue "LoginTo"
| count loginto
| sort - _count

You would see results such as the following in the Aggregates tab.
URLTable

Then follow the steps in Create a Table chart to create the panel.

Legal
Privacy Statement
Terms of Use
CA Privacy Notice

© 2010 – 2026 Sumo Logic, Inc.