Questions tagged [siddhi]

Siddhi CEP is a lightweight, easy-to-use Open Source Complex Event Processing Engine (CEP) under Apache Software License v2.0. Siddhi CEP processes events which are triggered by various event sources and notifies appropriate complex events according to the user-specified queries.

Siddhi is a fully open-source, cloud-native, scalable, Streaming and Complex Event Processing System capable of building real-time analytics, data integration, notification and surveillance use cases.

Siddhi understands Streaming SQL queries in order to capture events from diverse data sources, process them, integrate with multiple services and data sources, and publish output to various endpoints in real-time.

411 questions
0
votes
1 answer

WSO2 CEP : Siddhi QL: How to alert events consistently after matching certain condition

From the below stream, I want to alert the event which has occurred twice when the temperature goes beyond 90 (like every 2 event with temp > 90 needs to be…
Kannan
  • 5
  • 6
0
votes
1 answer

WSO2 CEP : Siddhi QL: Creating a unique stream with similar event records

I am pretty new to WSO2 CEP Siddhi QL, I got a requirement to analyze the events coming to a stream. For ex: I have data coming in like this…
Kannan
  • 5
  • 6
0
votes
1 answer

WSO2 CEP - Siddhi queries correlate coordinates of different event streams

I'm new to WSO2 CEP and Siddhi queries. I have created three different event streams, each stream is about an particular sensor, as shown in the image below: Each event stream of sensors has the latitude and longitude of the sensor. The sensors…
fay
  • 49
  • 1
  • 7
0
votes
1 answer

WSO2CEP siddhi unable to parse substr extension function in event execution plan

I have tried to get the ExectuionPlanRuntime by the SiddhiManger as below public static ExecutionPlanRuntime getExecutionPlanRuntime(String plan) { return new SiddhiManager().createExecutionPlanRuntime(plan); } The String plan has an…
Bruce
  • 647
  • 2
  • 12
  • 30
0
votes
1 answer

Siddhi check if an event does not arrive within a specified time window?

I am using CEP to check if an event has arrived within a specified amount of time (lets say 1 min). If not, I want to publish an alert. More specifically, a (server) machine generates a heartbeat data stream and sends it to CEP. The heartbeat stream…
zlinks
  • 1,037
  • 2
  • 16
  • 26
0
votes
1 answer

wso2 cep - SiddhiQL - sum different rows from the same event table

I have one event table called eventCount and has the following values: ID | eventCount 1 3 2 1 3 5 4 1 I have a stream of data coming in where I count the values of a certain type for a time period (1…
0
votes
1 answer

Retrieve data from org.wso2.siddhi.core.event.Event class

I have an output stream whose definition is define stream outStream (deviceID string, val int). In the 'receive' method of its callback, I want to do some processing with the val(of type int). Is there any method to retrieve this integer value…
0
votes
1 answer

WSO2 CEP: Can I query from rdms table inside siddhi query

I am trying to learn WSO2 CEP 4.2.0, and I stumble upon some problem with Siddhi query. Can I getting data from other system rdbms table to use it in event processing ? From WSO2 CEP documentation I found about event table, but that's not what I…
Dfirmansyah
  • 398
  • 2
  • 10
0
votes
1 answer

Matching the absence of events

I have a simple stream of status of objects : define stream statusStream (id string, success bool); I want to query all of objects which are "failed" (success=false) since 5 minutes : all event of statusStream (, false) where there are no event…
Jérémie B
  • 10,611
  • 1
  • 26
  • 43
0
votes
1 answer

Siddhi logical AND with within, executes callback unexpectedly

Using Siddhi CEP 3.1.2 as standalone library, I am using try figure out how to correctly trigger the callback handler under a number of conditions. Two events joined by logical AND a AND b I find with the above that if i provide both events, then…
0
votes
1 answer

How to describe this complex scene by cep?

This is my Event schema EventA (FieldA string, FieldB string, FiledC string) EventB (FieldD string, FieldE string) I want the query like: devide events into group window, group EventA by FieldA, FieldB ,group EventB by FieldE If events…
0
votes
1 answer

Can esper/siddhi generate new stream according to the group by?

I want to devide each group into a new stream(I want the operation for the group, not for the stream) .Dose there any methods to do that in esper or siddhi?
陶加涛
  • 11
  • 4
0
votes
0 answers

siddhi count() returns a value per event, not for a group(or window)

define stream rawStream ( catBehavior string, catOutcome string, srcAddress string, deviceCat string, srcUsername string, catObject string, destAddress string, appProtocol string, testMinCount…
陶加涛
  • 11
  • 4
0
votes
1 answer

how can i use wso2 siddhiQL Cache data?

My question is like this, I define a data source access to real-time data per second (has), I will for this batch of data per hour for an average calculation, and then to have this group of data per hour average accumulative sum, finally put the…
zuoxb
  • 11
  • 4
0
votes
1 answer

wso2 cep externalTime issue

According to User Guide I suppose that externalTime window (timestamp,time value) should keep events only in range:from timestamp to timestamp + time value. For example, in execution plan from input select…
Pavel
  • 1
  • 2