Unknown macro: {next_previous_links}
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

The Siddhi Try It is a tool used for experimenting event sequences through Siddhi Query Language (SiddhiQL) statements. You can define an execution plan to store the event processing logic and input an event stream to test the Siddhi query processing functionality.

Follow the steps below to use the Siddhi Try It tool.

  1. Log in to the CEP management console, click Tools, and then click Siddhi Try It as shown below.
    Tools menu
  2. Enter the Execution Plan as shown in the below example. 
    sample execution planThe main elements of the execution plan that should be defined are described below. 

     

     
    ElementDescriptionExample
    Execution plan nameThe name of the execution plan. It can contain only alphanumeric characters and '_' character.TestExecutionPlan
    Input streamThe mappings between the available event stream and the input stream of the Siddhi runtime, which is defined inside the query expressions.sensorStream
    Query expressionsThe event processing logic written in SiddhiQL. When defining more than one query, end each query with a semicolon.

    from sensorStream[temperature>98.6]
    select sensorId
    insert into outputStream;

    Output streamThe mappings between the output stream of the Siddhi runtime and one of the available event streams, which are defined inside the query expressions.outputStream
     

     

     

  • No labels