Questions tagged [nesper]
NEsper is a CLR-based component for building CEP and ESP engines.
57
questions
0
votes
1answer
19 views
Import events(datas) in NEsper engine
can anyone tell me how to import the events(datas) in NEsper engine to analyse whether pattern is catched or not?
I've already set and defined the pattern I want to catch and the event types(event ...
0
votes
1answer
52 views
Esper / NEsper EPL statement
I'm trying to define NEsper EPL event statement for the following situation. I have 3 events - for example apple, banana and orange. They all have attributes - (bool) eatable, (datetime) timestamp. I ...
0
votes
1answer
16 views
Esper/Nesper runtime configuration add generic event type
can anyone tell me how to add generic type (bean) to configure the CEP runtime? I'm in NEsper environment using C#., I have an event(bean) - Signal which has the attribute - value. Depends on what ...
0
votes
1answer
37 views
Esper/NEsper EPL event Statement
I'm new in Esper. Can anyone help me define the EPL statement to catch the event when the following situation occurs:
Assumming that there are events with 3 attributes - (string)Symbol, (boolean)...
0
votes
1answer
34 views
Esper / NEsper EPL event statement
I'm pretty new in NEsper/Esper. I want to catch the event when two event occur less than 3 seconds, in other words when the timestamp difference between two events is smaller than 3 seconds. How can I ...
-1
votes
1answer
28 views
NEsper Example explanation - StockTicker
I'm trying to understand the NEsper and it's examples. It seems like that the example - StockTicker is beginner level. Still I have difficulties to understand and implement this example. Can anyone ...
0
votes
1answer
23 views
Nesper example add assembly reference - namespace com / Support / UpdateEventArgs /
I'm trying to understand how NEsper works and see the example codes like Feed, ATM, AutoId, Transaction and so on. when I try to build the solution, I get many errors. the type or namespace com / ...
0
votes
1answer
25 views
Running Esper in ARM Cortex M4
Is it possible to run Esper CEP in a microcontroler LPC4088 with a core ARM Cortex M4 120 MHz?
I wonder if it is possible to it under JVM or using Nesper for .NET
Thank-you so much
1
vote
1answer
34 views
Is there any examples or documentation for dockerizing esper application?
Is there any sample code or configuration file available for dockerizing esper application ?
0
votes
1answer
157 views
How do I find the C# Documentation for Nesper?
I already read the Java documentation. Unfortunately the Java API and C# API are quite different.
I am trying to implement a CSV-Adapter for the Nesper CEP Framework.
Thanks in advance!
0
votes
1answer
43 views
How to set Object-array default event representation
I'm facing an error while I change the default event representation to Object array in this way:
Configuration configuration = new Configuration();
configuration.getEngineDefaults().getEventMeta()....
0
votes
1answer
120 views
Esper - concatenate values from multiple rows to a list
I have an Esper query that returns multiple rows, but I'd like to instead get one row, where that row has a list (or concatenated string) of all of the values from the (corresponding columns of the) ...
0
votes
1answer
41 views
Using NEsper to read LogFiles for reporting purposes
we are evaluating NEsper. Our focus is to monitor data quality in an enterprise context. In an application we are going to log every change on a lot of fields - for example in an "order". So we have ...
0
votes
2answers
75 views
How to properly create a threshold alert statements in Esper
I'm trying to create a set of EPL statements that allow the engine to alert when a value is or not over a threshold. Another way to understand it is like a 'fence' or geographical fence.
The set of ...
0
votes
1answer
46 views
Esper AMQPSource not receiving events
I'm trying to use the AMQPSource and I'm getting the error describe below, also imports are not working in EPL module. In advance, I test adding full package name to DistanceEvent (events....
0
votes
1answer
46 views
ESPER check if value is NaN
Hej, does anyone know how I can check in ESPER if a value is NaN? I want to get the slope of some variables which works, but the first value is always NaN. I want to exclude that value.
value ='NaN' ...
0
votes
1answer
228 views
Use ESPER timestamp in EPL Online Test
I have a simple question, for which I cannot find any ansers on stackoverflow or the ESPERTECH website. My plan is to write an ESPER CEP engine to check values in a live system. To check if the rules ...
0
votes
1answer
68 views
esper detect change in value of Event
Hej!
I have a small problem with my esper code. The input is like that:
t=t.plus(1 seconds)
CondiA ={varible ='Temp', value =1}
t=t.plus(1 seconds)
CondiA ={varible ='Press', value =1}
t=t.plus(1 ...
0
votes
1answer
52 views
How do i get the timestamps for a max(val) and min(val) in a window?
How do i get the timestamps for a MAX(val) and MINval) in a NAMED WINDOW or WINDOW?
Window:
[
t1- 100
t2- 200
t3- 250
t4- 900
]
every time the window is released I want t1 with its min value and t4 ...
0
votes
1answer
74 views
Nesper engine/C#: issue in internal current time
I'm using the Nesper engine (http://www.espertech.com/esper/nesper.php) in C# and I'm facing an issue.
When trying to retrieve the engine's internal time, the date returned seems to be wrong as it is ...
0
votes
1answer
100 views
how to trigger esper if there are no incoming events for a given period of time
I have esper processer configured to listen messages in kafka.
usually select * from events.win:time(2 min) will trigger all events in last 2 mins
Now, I want to trigger a notification if there are ...
0
votes
1answer
165 views
Nesper high CPU/Memory usage when using window of win:time
I am using Nesper as the CEP engine to process the events in my application.
I am trying to model the following EPL statement:
The Value field of the events are averaged over limited window time.
...
0
votes
1answer
52 views
Esper: detect event start only
I'm new to Esper (NEsper, actually) and I've been trying (unsuccesfully) to create an statement to detect when an event starts.
For example, suppose I have an event type called "Started betting" and ...
0
votes
1answer
94 views
How to fire pattern on partial match in Esper CEP
I'm trying to solve route-violation problem. User defines a route as series of location sequences (in exact order) that some item needs to be seen on. So lets say that correct route is (this is ...
0
votes
1answer
140 views
Why wont this context work?
I want the same statement to select between the times specified in the two contexts below. However I get no output. How can I get output when B is active and C is active using nested contexts in a ...
0
votes
1answer
36 views
How does nesting two crontab Contexts work?
Is it possible to nest two crontab contexts like these?
create context Nest
context A start (0, *, *, *, 1) end (0, *, *, *, 6),
context B start (0, 8, *, *, *) end (0, 22, *, *, *)
Does the first ...
0
votes
1answer
143 views
How do I specify time when using timestamps from a file?
Is it possible in Esper to manage timestamp from an input. The file I use looks like this:
143 Sat Sep 12 14:43:05 CEST 2009
149 Sat Sep 12 14:43:06 CEST 2009
149 Sat Sep 12 14:43:09 CEST 2009
143 ...
0
votes
1answer
64 views
How do I maintain a Set of event properites in a window?
Is it possible to create a table with a primary key and a Set as a secondary column that would be like a list in a value of a hashtable?
something like this:
create table T (id int primary key, list ...
0
votes
1answer
75 views
Cant use user defined function return value in where clause
I have a UDF in Esper which returns an int
getVal(int val){
//doing stuff
return val;
}
if i do this
select getVal(eventAttribute) from Event
it returns
{getVal(eventAttribute)=3 } //3 example ...
1
vote
1answer
40 views
Invoke method once in thumbling window but output all contained events
How can I invoke a method like
select udf(a,b) from Event.win:length_batch(5)
and print the window of size 5 out again. Say i send the following events:
runtime.sendEvent(new Event(1,2));
runtime....
0
votes
1answer
87 views
Can someone explain what Data Flows are used to in Esper?
I read about Data Flows in the esper docs and dont understand where in the application it should be used.
create dataflow HelloWorldDataFlow
BeaconSource -> helloworld.stream { text: 'hello ...
0
votes
1answer
18 views
win.length got wrong result while using pattern in EPL Nesper
I have problem with windows length.
My condition:
1-Output will trigger if event happen within length 3
2-Output dismiss if event happen after length 3
Example:
Event Sequence:
1:A
2:B
3:C
4:D
...
0
votes
1answer
259 views
dissect a string (removing portions) with Esper syntax
I'm using an esper statement to compare to variables and trigger when variable1 != variable2.
My issue is that variable1 contains additional information I don't care about. I just want to match the ...
0
votes
1answer
154 views
How and where to add Named Window using EPL in NEsper?
I already have the createstatement function and have successfully detected a simple event. My problem now is to process a complex event using EPL.
I need to process both simple and complex events in ...
0
votes
1answer
93 views
NEsper memory usage of “output” keyword
I have many EPL statements that output a period of time (1~24 hours), and following is my statement
"SELECT MessageID, VName, count(VName) as count FROM DDIEvent(MajorType=4).std:groupwin(VName).win:...
0
votes
1answer
64 views
Is it possible to differentiate in a window among the removed items, when an item is updated or if it expired?
I'm novice in NESPER, and I have an application that works with a StateEvent (id string, ts long, State int). The application is based on the values supplied by ts(Timestamp) of the StateEvent.
The ...
0
votes
1answer
57 views
How elaborate more an intermediate event via a C# function invocation?
I'm novice in NESPER, and in some point of my application (stm-A), I need to use a function in C# that transform the original event in (possible) several different events (the original one enriched, ...
0
votes
0answers
69 views
nesper: how to see audit information
When you use the @Audit annotation in a sentence how / where can I find the @audit information in nesper?
I have configured
Configuration config = new Configuration();
config.EngineDefaults....
1
vote
0answers
374 views
Output snapshot in Esper
I created an std:unique(Id) window in esper as in
select * from MyData.std:unique(Id) where rate > 0 output snapshot every 60 seconds;
What I expected was that at the end of every 60 seconds, I ...
1
vote
1answer
110 views
Linear Regression in Esper - Group By
Esper provides a function of linear regression [stat:linest(,)].
Example looks like (and this works great):
select * from StockTickEvent.win:time(10 seconds).stat:linest(price, offer)
However,...
0
votes
1answer
115 views
Nesper - LoaderExceptions
I am building a Nesper application and after deployment it throws this error:
System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the ...
1
vote
1answer
1k views
Esper How To Join Tables
I m sure that this statement works in Esper:
/* query from table TableA when receive event PriceEvent */
ON PriceEvent p
SELECT a.SymbolA, p.price
FROM TableA a
WHERE a.Symbol = p.Symbol
But this ...
0
votes
1answer
954 views
Transform SQL JOIN SELECT to Esper EPL syntax
Let's consider a simple object with the same representation in a SQL database with properties(columns¨): Id, UserId,Ip.
I would like to prepare a query that would generate event in case that one user ...
0
votes
1answer
284 views
EPL Esper query use historical time stored in event's property instead of publish time
Let's say that I have a simple object:
public class StockTick{
private String symbol;
private decimal price;
private Date date;
private int unixTimestamp
}
How should I modify ...
0
votes
1answer
473 views
Grouping and batching events in Esper
I am trying to group events by User and return them in batches (per user). For example, if 3 users each sent 5 events, I would like 3 batches of 5 events to be output from esper.
Using the following ...
0
votes
1answer
97 views
Time mesauring of unique objects with Nesper
I would like to measure the time of cars with an unique Id with NEsper. My problem is, that there are several cars on a road. This road has predefined steps. I want to start to stop the time for every ...
0
votes
2answers
340 views
Forcing output from an esper stream on expression
I've got an esper query for pulling market data. It looks like
select * from L1Quote(Symbol='MSFT')
This will fire when ever a new quote occurs. I require a first quote/event to do some initial ...
0
votes
3answers
87 views
Nesper engine always tries to load types from Nesper.dll first
Every time I try to add a new type to my nesper engine, I get the following exception thrown in the nesper engine.
Could not load type 'K2Common.Order' from assembly 'NEsper, Version=4.8.0.0, Culture=...
0
votes
1answer
90 views
Nesper - difference between MarketDepth.std.unique(key).win:time_batch(500 msec) vs MarketDepth.win:time_batch(500 msec).std:unique(key)
What is the difference between doing the following statements in Nesper
MarketDepth.std.unique(key).win:time_batch(500 msec) vs MarketDepth.win:time_batch(500 msec).std:unique(key)
Does the first ...
0
votes
1answer
188 views
Nesper adding event types to my winforms app.config
I'm interested in defining multiple event-types my app.config file but it doesn't appear to get loaded by default. Is there something that I'm doing wrong? The event type doesn't exist within com....