Eliminate duplicates
Duplicate messages from the same device must be eliminated and not sent to Oracle Service Cloud. This is accomplished by creating a second exploration, whose input is the output of the first exploration.
About this task
Procedure
-
Field Value Exploration Type Select Eliminate Duplicates from the drop-down menu. Exploration Name Enter a name, such as Deduplicate. -
The exploration is created and the Deduplicate window appears.
-
Field Value Event Stream Select the name of the first exploration, for example, Temperature above 25 °C, from the drop-down menu. Duplicate Criteria Select source_id from the drop-down menu. Window Set the window to 4 minutes. It is recommended to set the window less than the evaluation frequency (in this example, five minutes). -
You must publish the exploration before you can create a format.
-
The format is created.
Results
At this point, you have created an application that can accept messages from HVAC devices and apply filters on them, so that only messages that indicate temperatures in excess of 25 °C are retained. Additionally, the application eliminates duplicate messages, so that only one message from a specific device over a four-minute window is retained and the others discarded. Finally, the application publishes the filtered and deduplicated messages, so that external systems can subscribe to them.