Questions tagged [wso2-cep]

251 questions
0
votes
1 answer

Issue related to fully distributed deployment of siddhi query with join operation

I have set up a 2 node worker and 1 node manager siddhi cluster. Following is the query I tried pushing into manager. Everything seems to work fine when there is no join in the query, but in case of join as mentioned below query gets deployed in…
0
votes
1 answer

How to express the event de-duplication logics in Siddhi stream processing

Hi: I need the following de-duplication logics to be implemented in Siddhi stream processing. Assume I have an InputStream, and I want to produce the OutputStream as the following: (1) when the event is the first one (since the Event Processing…
0
votes
1 answer

Use External Window Time Stamp to Debug Siddhi Stream Query

I am planning to use the historical event traces (stored in JSON with my own event time stamp recorded for each event) to debug the Siddhi stream queries that I have just created. My stream starts with: from…
0
votes
2 answers

How to put an arrival and ingestion timestamp in siddhi CEP

I want to put the arrival timestamp for the stream as soon as it arrives at the WSO2 IoT server and Ingestion timestamp when it is consumed by the CEP engine. These times will be used to compute Queuing latency and CEP latency as follows. Queuing…
Amarjit Dhillon
  • 2,718
  • 3
  • 23
  • 62
0
votes
0 answers

Siddhi Writing custom aggregation function

I'm building a custom aggregation function in siddhi an I have doubts about the oficial documentation, placed at https://docs.wso2.com/display/CEP420/Writing+a+Custom+Aggregate+Function In the example it creates "an aggregate function extension with…
Peter Rubi
  • 119
  • 1
  • 12
0
votes
1 answer

Siddhi CEP: Aggregate the String values of grouped events in a batch time window

I'm using Siddhi to reduce the amount of events existing in a system. To do so, I declared a batch time window, that groupes all the events based on their target_ip. from Events#window.timeBatch(30 sec) select id as meta_ID, Target_IP4 as…
Peter Rubi
  • 119
  • 1
  • 12
0
votes
1 answer

Time interval events

I am playing with the externalTime / externalTimeBatch in order to calculate average value for events that happen within a certain time interval as below from sensorStream#window.externalTimeBatch(meta_timestamp, 60 sec, meta_timestamp, 60 sec) …
Basixp
  • 115
  • 6
0
votes
1 answer

It is possible to detect unordered event patterns with WSO2?

I would like to detect some patterns using wso2, but my current solution is only capable to detect them if the events arrived are consecutives. Let's suppose the following pattern: Event 1: Scanning Event from Source 1 to Target 2 Event 2:…
0
votes
1 answer

WSo2 Siddhi: How to count the number of events that fulfill a condition

I'm working on a use case to detect login bruteforce attacks based on some incoming events. To do so I have to use wso2 + siddhi (not optional). The structure of the Code I've build is: Create a partition for each attacked target Create windows…
Peter Rubi
  • 119
  • 1
  • 12
0
votes
1 answer

Does this Execution Plan do what is required?

I am actually new to Wso2 and Siddhi. So first, let me explain what I am trying to do. I am trying to join two streams (RG and MW) and insert the query's result into (OutStream). I am trying to get the sensors's names which have a reading value >…
Jig_9
  • 1
  • 2
0
votes
2 answers

WSO2 CEP :Siddhi QL: Can i access multiple attributes in a single execution plan

I am pretty new to WSO2 CEP Siddhi QL, I got a requirement to analyze the events of multiple node with multiple parameters. Is this possible with siddi ? if yes, How can I achieve it .? Execution…
Abhishek
  • 25
  • 5
0
votes
1 answer

cannot install the features of ML in wso2cep

I want to use machine learning algorithms in wso2cep and i want to use wso2ML. I try to install machine learning features in wso2cep according to this link: https://docs.wso2.com/display/ML100/WSO2+CEP+Extension+for+ML+Predictions But when i install…
hamta
  • 75
  • 2
  • 10
0
votes
0 answers

getting an exception on running sample of wso2cep

I am a beginner in wso2cep. I want to execute the first sample of WSO2 CEP documentation. I use windows10 as operating system. I type the following command but i getting following exeption in Console…
hamta
  • 75
  • 2
  • 10
0
votes
1 answer

WSO2 DAS SiddhiQL : Dynamic event table / persist event stream

I would like to know if WSO2 Data Analytics Server allows to define a dynamic events tables or dynamic streams. For example, imagine one event represent a car, and in this event, an attribute is the 'brand' of the car (Ford, Mercedes, Audi ...).…
wolfyiy
  • 13
  • 4
0
votes
1 answer

In the WSO2 DAS dashboard, the gadget (graphs) data disappear when I maximize or refresh

I'm using WSO2 Data Analytics Server. I receive my events with an HTTP receiver and I did a dashboard to see informations in real time. When a event is received, the graphs are updated well but if I try to maximize the gadgets (or even refresh the…
wolfyiy
  • 13
  • 4