Examples
The following examples can be found on this page:
This example demonstrates how to use this Context Provider to return data for all images that contain '007' from the crete Streaming Data Platform stream by specifying the query input using a filter.
Drag the Streaming Data Platform Context Provider Agent onto the canvas and rename it. Link the output and stats endpoint to printers, and save the Data Stream.

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

Enter the Connection details of the Streaming Data Platform: base URL, user name, password, stream name, and psearch rest head.

Enter the query input and query. In this case, keep the default query input and enter the filter query 'ImageId contains 007'.

The source columns grid is auto-populated with available columns in the selected stream. You can click '+' to add another column, update the data types, or untick to exclude any columns from the output payload.

Click apply, save the Data Stream, and publish it.


Let's look at the Live Data View. Observe that the crete stream's 007 image data is printed, every 10 seconds.

File | Link | Security Key |
---|---|---|
Data Stream | Dell SDP Context Provider Example.xuc | C0mp|ex123 |
This example demonstrates how to use this Context Provider to return data for all images that contain '007' from the crete Streaming Data Platform stream by specifying the query input manually.
Drag the Streaming Data Platform Context Provider Agent onto the canvas and rename it. Link the output and stats endpoint to printers, and save the Data Stream.

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

Enter the Connection details of the Streaming Data Platform: base URL, user name, password, stream name, and psearch rest head.

Enter the query input and query. In this case, set the query input to manual entry and enter this SDP query:
1
{
2
"query": {
3
"term": {
4
"imageid": "007"
5
}
6
}
7
}

The source columns grid is auto-populated with available columns in the selected stream. You can click '+' to add another column, update the data types, or untick to exclude any columns from the output payload.

Click apply, save the Data Stream, and publish it.


Let's look at the Live Data View. Observe that the crete stream's 007 image data is printed, every 10 seconds.

File | Link | Security Key |
---|---|---|
Data Stream | Dell SDP Context Provider Example 2.xuc | C0mp|ex123 |
Last modified 3mo ago