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..
Drag the Cognite Time Series Listener onto the canvas and rename it. Link the output endpoint to the printer and save the Data Stream.

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

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.

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

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

File | Link | Security Key |
---|---|---|
Data Stream | Cognite TimeSeries Listener Example.xuc | C0mp|ex123 |
Last modified 1yr ago