Event Filters Not Running
Event Filters Not Running
Hi, I'm trying to create a filter that purges unarchived events every 14 days, but the filter is not running after selecting it. It just goes back to the default "choose filter" option in the drop down. I've tried saving, executing, and submitting and none of them keep the filter, but maybe I'm just missing something simple. Any suggestions?
Thanks!
Thanks!
Re: Event Filters Not Running
Did you "Save" after any changes you made, and did you tick/select "Run Filter In Background" which will keep it going?
"Execute", "Submit" only run the filter once (Submit: shows you what WOULD happen/what WOULD match, for fine tuning and experimenting, vs Execute: actual do it, but only ONCE, NOW).
"Execute", "Submit" only run the filter once (Submit: shows you what WOULD happen/what WOULD match, for fine tuning and experimenting, vs Execute: actual do it, but only ONCE, NOW).
Re: Event Filters Not Running
Yeah, I did. The changes still revert back to default.
Re: Event Filters Not Running
On the filters page, when you pick the filter, the display refreshes (hopefully) with the details, and should show what the filter's current settings are.
It should also have a little "*" at the enf of the filter name, and the word [background] after it. Just next to the selection box.
Are you getting any of that appearing?
It should also have a little "*" at the enf of the filter name, and the word [background] after it. Just next to the selection box.
Code: Select all
Use Filter "NameOfFilter*" [background]
Re: Event Filters Not Running
Yep, then I hit save and then check "run filter in background" and click save and close.
Re: Event Filters Not Running
Would you mind posting a screenshot of the filter as it is configured which is not working?
I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.
Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
Re: Event Filters Not Running
Sorry, I tried attaching the configuration, but I didn't see it so I kept trying and it said "Sorry, the board attachment quota has been reached."
Re: Event Filters Not Running
My configuration settings are this though: Archive Status = to Unarchived only. And Date Less than -14 days. Sort by Date/Time Asc Limit to first 100 results only. Then I checked delete all matches and saved with run filter in background checked too.
Re: Event Filters Not Running
Is there something a moderator can do to un-break this? I've seen quite a few comments from people trying to attach images to solve problems, but getting that error.AlexB wrote:Sorry, I tried attaching the configuration, but I didn't see it so I kept trying and it said "Sorry, the board attachment quota has been reached."
Is the forum full

Re: Event Filters Not Running
How about you post it to http://imgur.com and paste a link?
I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.
Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
Re: Event Filters Not Running
Can't, it says "Your post looks too spamy for a new user, please remove off-site URLs". 

Re: Event Filters Not Running
Actually, I guess you could just add this to the end of Imgur's url
/AkITh8S
/AkITh8S
Re: Event Filters Not Running
Nothing wrong that I can see with how you've configured it -- to delete after 14 days.
Some thoughts:
a) Is there any other filter that is marking your events as archived before this kicks in? If you are not sure, how about trying just to keep in -14 days and remove the archive unset condition?
b) Try and launch from command line
Then see if the events are deleted (easy visual way is to go to timeline and make sure there are no events before 14 days)
Some thoughts:
a) Is there any other filter that is marking your events as archived before this kicks in? If you are not sure, how about trying just to keep in -14 days and remove the archive unset condition?
b) Try and launch from command line
Code: Select all
zmfilter.pl -f <yourfiltername>
zmaudit.pl
I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.
Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
Re: Event Filters Not Running
I ran the first command and it says, "Name "Net::SFTP::Foreign::debug" used only once: possible typo at /usr/bin/zmfilter.pl line 817."
This is line 817.
This is line 817.
Code: Select all
$Net::SFTP::Foreign::debug = -1 if $Config{ZM_UPLOAD_DEBUG};
my $sftp = Net::SFTP::Foreign->new( $Config{ZM_UPLOAD_HOST}, %sftpOptions );
if ( $sftp->error )
{
Error( "Can't create SFTP connection: ".$sftp->error );
return( 0 );
Re: Event Filters Not Running
The filter apparently worked anyway, but I'm still not sure if the filter will run every two weeks like it's supposed to because it's still showing up as "Choose Filter." 
