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
0
votes
2 answers

How to implement execution plans using siddhi?

First of all let me description my requirement: data.csv: column one is id,column two is vlaue. 1,0 2,0 3,0 4,86 5,87 6,88 7,89 8,86 9,0 10,0 11,0 12,0 13,0 14,86 15,87 16,88 17,89 18,0 19,0 20,0 here is my InputStream and my OutPutStream: id…
willxiang
  • 291
  • 3
  • 6
0
votes
1 answer

WSO2 : Updating an output stream in Siddhi Query

I have a siddhi query to get the count of total events in one minute by using a timebatch window. Using an output stream I am updating a bar chart with constant coming values, timestamps(date and time,till minute ) on the x-axis and events count on…
aneela
  • 1,457
  • 3
  • 24
  • 45
0
votes
1 answer

Error with load test and regular expressions - WSO2

I have a RECEIVER that received a string: Eventtype=2 Machineuserid={e5abyyef-t0dc-8wve-udxp-593z3swpbs10} Datetime=2016-7-15 9:30:57.000…
0
votes
1 answer

Combine two Cronexpressions

I have the next CronExpression in Siddhi (wso2 DAS): define trigger periodicalTriggerStream at '0 0/15 * * * ?'; This expression is runing without problems, run every 15 mins 15, 30, 45 .... I need that my trigger run when I start SIDDHI. 0, 15,…
0
votes
1 answer

Time management with siddhi

I need store a white list by 2 mins, but i need execute a query (using my white list) when a new stream arrive. I am using two stream with the next code: I need to charge my WHITELIST updated every two minutes. define trigger periodicalTriggerStream…
0
votes
1 answer

Receive Object in a Stream from Siddhi

I have a Siddhi extension that return the next information for example: { "licenseKey": "WxyzChXjhJ-dgjfZfHnL9-bWd4e2vxjD-eIs5hDu0To-VOxL111BAj", "siteUrl": "http://www.URL.net/", "clientPublicId": "CLIENT1", "host": "www.urlclient.net" } { …
0
votes
2 answers

Siddhi CEP 4.x: Multiple results per group when using time batch window

Using siddhi 4.1.0 Is there any possibility to apply time.windowBatch for upcoming events? I understood the time window is working based on already arrived events. Say for example, I am getting multiple results while using window.timeBatch(2 min)…
Muthusamy
  • 1
  • 2
0
votes
1 answer

Execution plan templates in Wso2 CEP

I am using WSO2 CEP for processing the events coming from a Kafka topic. I want to generalise this to multiple kafka topics which stores logs in similar format i.e each partition of each topic stores data of a particular person. The scenario is as…
yudi
  • 165
  • 2
  • 15
0
votes
1 answer

Siddhi Query : group by results

I am having a trouble in digesting results of my group by query. My source stream named intermediateStream has data ts uid id_resp_h 2016-05-08 08:59 CLuCgz3HHzG7LpLwH9 172.30.26.119 2016-05-08 09:00 …
aneela
  • 1,457
  • 3
  • 24
  • 45
0
votes
2 answers

JAR for extends SIDDHI

I want extend siddhi, mi java code is: package org.wso2.siddhi.extension.fraude; import org.wso2.siddhi.core.config.ExecutionPlanContext; import org.wso2.siddhi.core.executor.ExpressionExecutor; import…
0
votes
1 answer

REST service wso2 DAS or CEP

Can I make a calling of service REST, that use a parameter of other input stream of type HTTP from siddhi ? For example: I have a input stream sensorStream: @Import('org.wso2.event.sensor.stream:1.0.0') define stream sensorStream (meta_timestamp…
0
votes
2 answers

Web Services in Siddhi

I have a web services (REST). I want to call the WS every time an event comes to my stream. I have to create an extension of Siddhi and call the web service from java? If I need java to invoke the Web service, should I extend "Aggregate Function"…
0
votes
1 answer

Siddhi CEP - events which were not joined in a sliding window

I have two streams, streamA and streamB. Each of streamA has an ID and matching event in streamB will have same ID. I want to know from streamA which IDs have not come in streamB after a sliding window of lets say, 1 minute. I have tried this, but…
0
votes
1 answer

Join with trigger in siddhi

I have a question. I am using DAS 3.0.1. Trazablack is a postgres table. I cant make a join with the event Trazafiltrada, it's was create with the next code: define trigger FiveMinTriggerStream at every 5 min; from FiveMinTriggerStream join…