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

Can wso2 siddhi CEP accept stream of user defined objects? Can the rule be specified to access attributes of the object?

I want to pass truck objects to my wso2 siddhi cep and evaluate a rule to raise an alarm every time truck.temperatureReading goes below 45 . Is this feasible ? define stream truckStream (truck Truck) from truckStream [truck.temperatureReading …
0
votes
1 answer

WSO2 CEP thrift ip address not bound to eth0/sitelocal ip address of linux machine

Standalone mode When I start WSO2 CEP server on my linux machine, the ip address which is displayed in the logs as below Mgt Console URL : https://<172.16.55.1>:9443/carbon/ When I run netstat on that port, as…
Anshul Gupta
  • 490
  • 4
  • 8
0
votes
1 answer

Siddhi query for to calculate a new value using current event's value and last event's value

Whenever an event arrives there needs be a query to calculate a new value using current event's value and last event's value and insert it in to a new stream. For an example: event [1] : speed = 0 timestamp = 1410513924817 …
Asiri Liyana Arachchi
  • 2,663
  • 5
  • 24
  • 43
0
votes
1 answer

WSO2 CEP - memory leak

I have a problem about WSO2 CEP. Please advice or fix this problem. Environment is below. 1) CEP version is 2.1.0. 2) TimeBatch Window and patterns query is used. from RootStream#window.timeBatch(10000) insert into AvgOneStream avg(watt) as…
0
votes
1 answer

WSO2 CEP window time 1 day

I am evaluating different possible solution for ATM Card transaction fraud detection with input load of around 50000 per second and response time few seconds. WSO2 CEP looks better fit for overall solution, but stuck with problem of memory &…
Jigar Parekh
  • 6,163
  • 7
  • 44
  • 64
0
votes
1 answer

Checked out siddhi code, & ran mvn eclipse:eclipse throws error at ../../pom.xml

I find it really odd that a project like siddhi wont build right out of the box, I wonder what I am missing. To start with I just need way to import siddhi into eclipse, and it won't show me any projects when I choose Import Existing Projects. If I…
Siddharth
  • 9,349
  • 16
  • 86
  • 148
0
votes
1 answer

Siddhi Distributed Cache Mode Deployment

According to the docs (https://docs.wso2.org/display/CEP310/Clustered+Deployment), you can run Siddhi in distributed mode. As fas as i understand, all nodes will share the streams definitions and operate over a shared context (streams, queries,…
0
votes
1 answer

Siddhi query with snapshots and Hazelcast Error

I'm trying to create a query with snapshot output, it works fine when distributed is disabled, but fails when distributed enabled. If i try to insert n events, it throws ArrayIndexOutOfBoundsException (n) Any idea? 14/03/26 18:54:05 INFO…
0
votes
1 answer

How to define Siddhi time window for complete current day

What is the syntax for writing Siddhi time window expression for current day only. I want to calculate number of events group by any event attribute for today's date only. I am planning to use #window.time(86400000) but assume that CEP server…
Madhup Srivastava
  • 446
  • 1
  • 6
  • 18
0
votes
1 answer

How to work with wso2CEP3.0.0 and activemq 5.8.0

i am using wso2cep 3.0.0 and activemq5.8.0 As per CEP documents i wish to Publish events using CEP. For that i started activemq with 2 define QUEUES with the name jmsProxy for incoming message and JmsProxy for out message.I added required jars in…
faisal shaik
  • 160
  • 4
  • 22
0
votes
1 answer

wso2 CEP 3.0.0: casting to double type

In WSO2 CEP 3.0.0. I experienced some confusing behavior with attributes of double type. Assume the following siddhi script: define stream LongStream LongAttr1 long, LongAttr2 long; define stream DoubleStream DoubleAttr1 double; from…
0
votes
0 answers

Error in Writing a Custom OutputAttributeProcessor

I have a question and problem about writing a custom OutputAttributeProcessor. I use WSO2 CEP 2.1.0 and siddhi 1.1.0. I want to create a custom OutputAttributeProcessor, so I create two java classes, DiscomfortIndexAggregatorFactory implements…
0
votes
1 answer

JSON mapping in wso2 siddhi cep

This is to get some clarity on the JSON mapping of the generated JSON events in WSO2 CEP. I configured two buckets for this. I have a string (Suresh 7 LeadSE) and I'm converting that into a JSON object. First bucket is getting the input string and…
0
votes
1 answer

Joining 3 events in Siddhi

I want to join conditionally selected 3 events in Siddhi. I do this by defining two queries within bucket definition. Here is the first query definition: from inStream[severity == 1] as a1 join inStream[name == 'name1'] as a2 on a1.time ==…
iargin
  • 808
  • 1
  • 9
  • 19
0
votes
1 answer

Siddhi query for network utilization

I am currently evaluating siddhi for use in a snmp environment. The POC is build around network interface utilization. A stream is defined as: define stream interfaceStatsEvents (nodeName string, sdate double, ifSpeed long, ifIndex string,…
roelof
  • 3
  • 1
1 2 3
27
28