-
Notifications
You must be signed in to change notification settings - Fork 529
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pattern for having same/different condition across events #1425
Comments
We are implementing a way to process lists, but as of now you can do the following,
|
When we have a better approach will update that too |
I have written the query like this - what would be the difference between the two solutions. |
This will work. Following is a better version for your usecase. As of now this is not working, we are fixing this.
Here the partition purge idle.period should be greater than the expected wait time you will use in the query, which is in your case 1 min. |
Removes duplicate events and supports patterns expiry. Fixes siddhi-io#1425 Fixes siddhi-io#1182
I want to have a pattern where I can filter the condition across events on same/different values for some fields.
For eg: I have the query like - "from every e1=authenticationStream[type == 'FAILURE' ]<5> -> e2=authenticationStream[type == 'SUCCESS'] within 1 min select 'rule1' as ruleId insert into outputStream"
If I want to check whether all these events have the same IP across all events. What are the possible ways to do that?
Siddhi version = 5.1.1
Thanks,
The text was updated successfully, but these errors were encountered: