Example

This example Data Stream demonstrates how to use this Listener to return the latest time series data from a Cognite database, using OpenID Connect authentication.

Refer to configuration to understand all configuration options of this Agent.

Step 1: Add the Agent

Drag the Cognite Time Series Listener onto the canvas and rename it. Link the output endpoint to the printer and save the Data Stream.

Step 2: Configure General

Select the Agent and click Configure. Keep the default Collection and polling interval.

Step 3: Configure Settings

Select the authentication type, and the related values:

  • For ApiKey, specify the api key value.

  • For OpenID Connect, specify the base url, tenant ID, client ID, and client secret.

In this example, select OpenID Connect.

Select the project to which you want to connect. In our case, CogniteProject.

Select one or more parent assets. In this case, Penicillin Bioreactor 2300.

Optionally, select one or more child assets. In this case, 2300-PENSIM-Back-Pressure and 2300-PENSIM-Batch-ID.

Select one or more time series.

Step 4: Results

Apply the changes, save the Data Stream and publish it.

Step 5: View Results

Let's look at the Live Data View. Observe the latest time series data is returned for the selected assets, every 10 seconds.

Files

See the Import, Export, and Clone - XMPro article for steps to import a Data Stream.

Last updated