Questions tagged [wso2-cep]
251 questions
1
vote
2 answers
Custom Execution Function in WSO2
I am trying to write a simple custom function extension for WS02 (4.2.0). My function basically takes in a String and returns the upper case. This is meant to be a first step POC for a more advanced custom function.
I implemented a class that…

arav369
- 39
- 1
- 5
1
vote
1 answer
WSO2 DAS. Metadata and Rules management
I implemented a CEP demo case using WSO2 DAS:
Several event sources, realtime analytics using SiddhiQL (with queries to external data sources and applying ML models from WSO2 ML), WSO2 Dashboard.
Everything works perfectly. Great solution!
But I…

Alex
- 55
- 3
1
vote
1 answer
WSO2CEP Siddhi query error using geo within function
I am using the GEO extension within function into an execution plan.
I have multiple event streams, which contain sensor information, including the location of each sensor (in geographical coordinates).
Furthermore, I have a Polygon (example below,…

fay
- 49
- 1
- 7
1
vote
2 answers
wso2cep: ERROR - 'distance' is neither a function extension nor an aggregated attribute extension in execution plan "ExecutionPlan"
I am using WSO2 CEP 4.2.0 version and I am writing an execution plan for checking when coordinates from different sensors do not vary by more than 4 meters, through Siddhi query. But getting an error: 'distance' is neither a function extension nor…

fay
- 49
- 1
- 7
1
vote
1 answer
wso2 cep Siddhiql merge data from 2 streams
I want to do statistics and the statistics are in a percentage.
I have a query that tells me the number of events coming from one stream that contains several values ['R','B','A','C']. And i want to count how many Bs there are in stream1 in…

JoaoFilipeClementeMartins
- 1,770
- 5
- 28
- 61
1
vote
1 answer
WSO2CEP 4.2.0 error: A mandatory attribute null does not exist
We are using WSO2CEP version 4.2.0. We are connecting to a MySQL database (version 5.6.34-1 community edition from Oracle) on the back-end with mysql-connector-java-5.1.40.jar. We have set up several connections in the master-datasources.xml, and…

db_
- 51
- 4
1
vote
1 answer
What is the meanings of the input and output parameters of Kalman Filter in WSO2 CEP?
I would like to have some information about the input (named: measuredValue, measuredChangingRate, measurementNoiseSD and timestamp) and output (2 values) of Kalman Filter Extension in WSO2 CEP 4.2.0. I can't find any kind of documentation.
I…

Salva
- 467
- 1
- 5
- 10
1
vote
1 answer
Is there any way to remove comma after "group by" in siddhi query language?
I have below code in an execution plan.
from ocs_in#window.custom:ocs(20 sec,msisdn,package,rent,content)
select msisdn as msisdn,content as message
group…

Nuwan6
- 11
- 1
1
vote
1 answer
WSO2 CEP and SQL Server insert into with primary keys set on the SQL Server side
I have a database on SQL Server with a table that has the following structure:
ID has IDENTITY set to true.
When i go into the WSO2 CEP and try to make a stream dump its events into the table i am getting the following error:
from…

JoaoFilipeClementeMartins
- 1,770
- 5
- 28
- 61
1
vote
0 answers
WS02CEP GEO DASHBOARD Event dropped at Output Adapter While passing the org.wso2.geo.LocationStream:1.0.0
WS02CEP Event dropped at Output Adapter While passing the org.wso2.geo.LocationStream:1.0.0. I have attached the exact error below. Can anyone help me to resolve it ?
ERROR…

Vivek
- 343
- 1
- 5
- 12
1
vote
1 answer
Start sample 0009 in WSO2 CEP sample mode
I am trying to try out the sample 0009 in WSO2 CEP. It is for a MAP event in JMS protocol.
When i am trying to run WSO2 CEP in the sample mode i execute the following command in windows to run the sample in samples/cep/artifacts:
wso2cep-samples.bat…

JoaoFilipeClementeMartins
- 1,770
- 5
- 28
- 61
1
vote
1 answer
Save window data - WSO2 CEP
I am using unique windows. I want to save the window state or data. because when CEP restart window data will be lost. Is there any way to do this?
1
vote
1 answer
Event table from Hazelcast
I am using below execution plan to populate my hazelcast backed event table.
Problem is, how can I reuse this existing hazelcast backed event table from another execution plan ?
It is a followup question for another similar…

Obaid
- 237
- 2
- 14
1
vote
2 answers
WSO2 CEP - Custom Receiver Adapter: Event Formats
I am trying to build a custom receiver adaptor. Which will read from CSV file and push events to a stream.
As far a I understand, we have to follow any of the WSO2 standard format(TEXT, XML or JSON) to push data to a stream.
Problem is, CSV files…

Obaid
- 237
- 2
- 14
1
vote
1 answer
WSO2 DAS Substring
I am currently using Siddhi QL, and i have a simple requirement.
Input data is given in quote e.g.
"apple"
and the output would be :
apple
I have tried using
select substr(inputDATA,1,4) as out insert into outputStream;
Than i am getting…

Sidharth Dash
- 333
- 1
- 4
- 13