Creating a YTsaurus CHYT connection
Written by
Updated at April 27, 2024
To create a YTsaurus CHYT connection:
Warning
If you use a new DataLens object model with workbooks and collections:
- Go to the DataLens home page
. In the left-hand panel, select Collections and workbooks. - Open the workbook, click Create in the top-right corner, and select the appropriate object.
Follow the guide from step 3.
-
Go to the connections page
. -
Click Create connection.
-
Select YTsaurus CHYT as the connection type.
-
Specify the connection parameters:
- YTsaurus token: Manually set the OAuth token to use with YTsaurus. For more information, see the YTsaurus documentation
. - Hostname: Specify the YTsaurus proxy server address.
- Port: Specify the CHYT connection port.
- Clique alias: Specify the alias of a running clique. By default, the
*ch_public
public clique is used. - Cache TTL in seconds: Specify the cache time-to-live or leave the default value. The recommended value is 300 seconds (5 minutes).
- Raw SQL level: Select the SQL query access level for the user.
- HTTPS: Enable the secure connection option if your server supports HTTPS.
- YTsaurus token: Manually set the OAuth token to use with YTsaurus. For more information, see the YTsaurus documentation
-
Click Create connection.
-
Enter a name for the connection and click Create.
Note
You can check the host connection before creating it. To do this, click Check connection.
Additional settings
You can limit data export from charts by enabling Disable data export under Advanced connection settings. With this option enabled, the export data button will be hidden in the charts based on this connection. However, you will still be able to copy chart data and take screenshots.