Filters not deleting events
Posted: Sat Apr 29, 2017 5:20 am
Hi,
Let me just say that this program is incredible. It's helping me out very much in a struggling time.
The only thing that isn't working is when I set up a filter to delete old events, it doesn't work.
I set up a filter to delete "Date" "less than or equal to" "-2 days", sort by ID ascending, and limit to 1000 events (that many events just for the sake of getting rid of old crap). I also, obviously, select "Delete all matches".
When I hit submit, it takes me to the correct events, but when I hit "execute", nothing happens.
I have other filters running just fine (I get emails with non-zero alert frame events), so I know that part is working. It just seems like the deletion part is not working.
I've been scouring around trying to find solutions, and I've tried the following:
Running zmaudit.pl yields no output.
RUN_AUDIT is enabled
AUDIT_MIN_AGE is 86400
OPT_FAST_DELETE is disabled.
When I hit execute, the logs show the following:
I really want to only keep a 2 day window of images on my server, but I can't seem to get it to work. I've been fighting with ZM for a while, customizing it, and getting it perfect, and so far, it's been a fight, but I've been winning. It's been fun and this is what I like to do, but in this circumstance, I'm kind of at a deadpass.
Any suggestions?
Let me just say that this program is incredible. It's helping me out very much in a struggling time.
The only thing that isn't working is when I set up a filter to delete old events, it doesn't work.
I set up a filter to delete "Date" "less than or equal to" "-2 days", sort by ID ascending, and limit to 1000 events (that many events just for the sake of getting rid of old crap). I also, obviously, select "Delete all matches".
When I hit submit, it takes me to the correct events, but when I hit "execute", nothing happens.
I have other filters running just fine (I get emails with non-zero alert frame events), so I know that part is working. It just seems like the deletion part is not working.
I've been scouring around trying to find solutions, and I've tried the following:
Running zmaudit.pl yields no output.
RUN_AUDIT is enabled
AUDIT_MIN_AGE is 86400
OPT_FAST_DELETE is disabled.
When I hit execute, the logs show the following:
(weird that it shows the temp filter, and not the filter I named)2017-04-29 01:07:34.731750 zmfilter 14921 INF Scanning for events using filter '_TempFilter1493442454' zmfilter.pl
I really want to only keep a 2 day window of images on my server, but I can't seem to get it to work. I've been fighting with ZM for a while, customizing it, and getting it perfect, and so far, it's been a fight, but I've been winning. It's been fun and this is what I like to do, but in this circumstance, I'm kind of at a deadpass.
Any suggestions?