[]
        
(Showing Draft Content)

Connect to TimeScale

To create a TimeScale data source in Wyn Enterprise, follow these steps.

  1. On the Resource Portal, navigate to Create (+) > Create Data Source.

  2. Select TimeScale in the data source list on the left or in the icon view on the right.

  3. Fill in the database configuration information for the selected data source.

Field Description
Name* The name for the data source that you want to specify.
Host* A host name or host IP.
Port A port number, the default is 5432.
UserName* A user name to connect to the TimeScale database.
Password* A password of the TimeScale user.
Database* Enter the server TimeScale instance name or click the drop-down to select the instance.
Use Configuration String (Advanced) Use this option to connect to the data provider through a connection string. The format of the connection string is:Host=myServerAddress; Port=myServerPort; Database=myTimeScaleDataBase; UserName=username; Password=password;In addition, you can use the user context attribute in the string to filter data, in the format "@" such as "@". See User Context for details.
Use Table/Field Name Mapping If you check this option, you can either import a CSV file or manually enter the display names for the required tables or fields in the Mapping dialog. In case of the RDBMS databases, you can also import the name mapping information from another database. For more information on mapping table and column names, visit this topic.

* Required fields

  1. Verify the TimeScale connection by clicking Test Connection. If the data source is available, and the credentials are correct, you receive a notification on successful connection.

  2. Click Create after the connection is successful.

    You can view the added data source in the Categories tab of the Resource Portal.