Skip to main content
Use the Activities query tab to show CogniteActivity instances in Grafana panels, for example, the maintenance work orders for a set of pumps in a table panel. The tab finds the activities related to the assets, equipment, or time series you select. To draw activities on top of a time series chart instead, use the Activities overlay on the Time series tab.

Before you begin

Showing activities

The Activities query tab with the activity view, related instances, show, sort by, and columns fields
1

Select the activity view

On the Activities tab, select the Activity view to read the activities from.
2

Select the related instances

  • Related to - choose the type of instance the activities are related to: Assets, Equipment, or Time series.
  • Instance view - select the view to search the instances in.
  • Space - optionally, narrow the search to one space. The default is All spaces.
  • Instances - search for the instances by name and select the ones whose activities you want to show.
3

Choose which activities to show

In the Show field, choose one of these options:
  • Active in time range - the activities that overlap the dashboard time range. This is the default.
  • All - every activity related to the instances, whenever it took place.
4

Choose the columns and sorting

  • Sort by - the properties to sort the activities by, in order. A new query sorts by startTime, ascending.
  • Columns - the properties to show, in order. If you remove all columns, the panel shows every property of the view, then the instance properties space, externalId, createdTime, and lastUpdatedTime.
The panel shows one row for each activity related to the instances you selected, with the columns you chose.

Further reading

Last modified on November 13, 2026