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:
Create a Table chart
To add a panel with a table chart:
-
Create or open a dashboard and click Add Panel > Time Series or Add Panel > Categorical.

-
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.

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.

Build the metrics query in Metrics Search.
-
After the query runs, change the chart type to Table.
- (Optional) Missing Data Display. Enter the text to display when data is missing.
- (Optional) Font Size. Font size of the displayed text. The default is
12. - (Optional) Decimals. Sets the precision of the displayed units. Select the number of decimals to show with a unit, up to 10.
- (Optional) Rows Per Page. Set the number of rows to display in the table.

-
Modify the chart as desired.
-
Click the Add to Dashboard button on the top right of the window to add the panel to your dashboard.

URL links in table chart panels
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.
Then follow the steps in Create a Table chart to create the panel.