Creating a connection to DataLens Usage Analytics
Note
Only a user with the datalens.instances.admin or datalens.admin role can create and use a connection in an organization. The datalens.workbooks.editor workbook admin role is not enough to create a connection.
To allow other users to view a connection and run queries to it, the connection administrator can configure object access permissions.
To create a DataLens Usage Analytics connection:
-
Open the page for creating a new connection
. -
Under Files and services, select the Usage Analytics connection:
-
Light: Provides aggregated statistics on the DataLens instance usage for a limited period of time (60 days).
-
Detailed: Provides both detailed and aggregated statistics for the DataLens instance over a long period of time (360 days). Offers detailed statistics on dataset queries and dashboard views.
-
Note
Updates as of December 1, 2025:
- Creating new Light connections will no longer be available. Existing connections will continue to work.
- Creating a Detailed connection will be available to all users.
We recommend using Detailed connections.
-
Leave the Automatically create dashboard, charts, and dataset over connection option enabled if you want a standard dataset:
For Light connection
- DataLens Usage Analytics Light: Dashboard with preset charts.
- Usage Analytics (light): Dataset with aggregate data on dataset queries.
For Detailed connection
- DataLens Usage Analytics Detailed: Dashboard with preset charts.
- Usage Analytics (light): Dataset with aggregate data on dataset queries.
- Usage Analytics (detailed): Dataset with a complete log of dataset queries.
- Usage Analytics (dashboard views): Dataset with data on the number of dashboard views.
-
Click Create connection.
-
Select a workbook to save your connection to or create a new one. If using legacy folder navigation, select a folder to save the connection to. Click Create.
-
Enter a name for the connection and click Create.
You can use a preset dashboard or create custom charts and dashboards for specified datasets.