Hi,
I have a 1.29 installation and can't seem to edit filters without them running on against all existing events.
I open the filter dialog, change something like the "alarms frames" for example and click save. This launches the "save filter" window which I leave as-is; with the "save as" field the same and keep "Run filter in background" checked.
When I click save the filter appears to run against all existing events instead of only new events and I get a mailbox full of X emails and a phone full of X SMS.
What am I doing wrong?
Editing Filter Causes Hundreds of Emails and SMS
Re: Editing Filter Causes Hundreds of Emails and SMS
Well, it would be great to see what settings you used in your filter...
Re: Editing Filter Causes Hundreds of Emails and SMS
A background filter with the following settings:
I click "save" but it seems to do what I would expect from "Execute"
Code: Select all
Monitor Name - Matches - Sheds
AND
Alarm Frames - Greater than or equal to - 30
"Email details of all matches" checked
Re: Editing Filter Causes Hundreds of Emails and SMS
"the filter appears to run against all existing events"
It will. That's what you asked for. It's not what you wanted though ...
If you were under the impression that filters are run only against each new incoming event, then that's the mis-step in the plan.
You will need to do some adding to the rule, to bring time/date into it to control the "when" part of your rule.
Secondly: Hitting "Save" and running it in the background *will* cause it to execute. That's what background running is for. What were you expecting to happen differently?
Try testing to see how many events match using "Submit" (show me what you WOULD effect, but don't do anything) instead of "Execute" (OK, do that NOW) or "Save&Background" (OK, keep doing this in the background forever)
It will. That's what you asked for. It's not what you wanted though ...
If you were under the impression that filters are run only against each new incoming event, then that's the mis-step in the plan.
You will need to do some adding to the rule, to bring time/date into it to control the "when" part of your rule.
Secondly: Hitting "Save" and running it in the background *will* cause it to execute. That's what background running is for. What were you expecting to happen differently?
Try testing to see how many events match using "Submit" (show me what you WOULD effect, but don't do anything) instead of "Execute" (OK, do that NOW) or "Save&Background" (OK, keep doing this in the background forever)
Re: Editing Filter Causes Hundreds of Emails and SMS
HI,
I want my filter to run the background forever and process each event as it is raised which it does seems to do once it has done one pass of all existing events. I was expecting it to keep track of those events it has already processed even after a filter is modified and continue with the next unprocessed event.
So I need to increment a date/time condition each time I modify the filter? Is this the best way to go about it?
I want my filter to run the background forever and process each event as it is raised which it does seems to do once it has done one pass of all existing events. I was expecting it to keep track of those events it has already processed even after a filter is modified and continue with the next unprocessed event.
So I need to increment a date/time condition each time I modify the filter? Is this the best way to go about it?