Page 1 of 1

Event Filter deletes all events!

Posted: Mon Jan 23, 2012 9:48 pm
by DervMan
Hi,

I'm trying to configure an Event Filter that deletes events over 1 month old that aren't archived.

I've used the PurgeWhenFull as an example. Here's what I have.

'Archive Status' equal to 'Unarchived Only'
and 'Date/Time' greater than '-1 month'
sort by 'ID' 'Asc' limit to first 5 results only
Delete at matches (ticked)

It's running as a background process.

I've also tried checking zmfilter.log but it doesn't exist on my Ubuntu install.

This is the type of thing I see in the log 'Jan 23 21:49:13 NAS zmfilter[15785]: INF [Deleting event 102155]'

Any ideas?

Thanks

Re: Event Filter deletes all events!

Posted: Mon Jan 23, 2012 9:58 pm
by PacoLM
Try with Date/Time "less than or equal" "-1 month".

Re: Event Filter deletes all events!

Posted: Mon Jan 23, 2012 10:36 pm
by DervMan
Thanks for the suggestion PacoLM.

I've made the change and nothing was deleted.....

Fingers crossed.

:D