The widget displays the result of a read-only SQL query to ClickHouse as a sortable, paginated table. Use the {{from}} and {{to}} placeholders in the query.

Configuration

NameRequiredDescriptionDefault value
QueryYesRead-only SQL query. Use {{from}} and {{to}} to specify the time range. The widget substitutes them with the interval boundaries in UTC in the YYYY-MM-DD hh:mm:ss format without quotes—
DatabaseNoClickHouse database name passed in the X-ClickHouse-Database header—
Default intervalNoInterval used when opening or refreshing the widget if no interval is specified in the query parametersLast hour
Page sizeYesNumber of rows loaded by each query50

Authorization

Authorization is described in External services.