This documentation is for WSO2 Complex Event Processor 4.0.0. View documentation for the latest release.
WSO2 Complex Event Processor is succeeded by WSO2 Stream Processor. To view the latest documentation for WSO2 SP, see WSO2 Stream Processor Documentation.

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Processing events with an execution plan

Step 6: Add another event stream
Anchor
Add Another Event Stream
Add Another Event Stream

  1. Log into the CEP Management Console and click on the Main tab. Under Manage, click Streams to open the Available Event Streams page. 
  2. Click Add Event Stream to open the Define New Event Stream page. 
  3. Enter information as follows to create the event stream named org.wso2.event.sensor.filtered.stream.

    Event Stream Details

    Paramater NameValue
    Event Stream Nameorg.wso2.event.sensor.filtered.stream
    Event Stream Version1.0.0

    Stream Attributes

    Attribute CategoryAttributeAttribute Type
    Meta Datetimestamplong
     sensorNamestring
    Correlation Datalongitudedouble
     latitudedouble
    Payload DatasensorValuedouble
  4. Click Add Event Stream to save the information.

...

Note

Before you carry out this step, delete the event stream you created under Step1: Add an event stream, and Step 6: Add another event stream.

  1. If the CEP server was running when you created and deployed the template, restart the CEP server.
  2. Log into the CEP Management Console. Click the Main tab and then click Execution Manager. The dashboard home page with the available domains will be displayed as follows.

  3. Click on SensorStatistics to open the Configurations page. Then click Add Configuration.
     
  4. Enter information as follows and then click Add Configuration.

    Parameter NameValue
    Configuration NameFilterSensorValues
    DescriptionFilter events which
    Filtering Value125.6

    You will receive a message to confirm that the configurations were successfully saved. Close the message. The configuration added will be displayed in the Configurations page as follows.

...