Trying to setup a Filter

Forum for questions and support relating to the 1.30.x releases only.
Locked
Yamanipanuchi

Trying to setup a Filter

Post by Yamanipanuchi »

I want to setup a filter that will delete anything that is over 10 days old and low alarm frames. Maybe start doing this ones disk usage is over %75?

Preferably, Start with the lowest alarm frames and work its way up. Although a set number of alarm frames and less will work also.

I've tried and most of my combinations come up blank. Anyone out there know how I could setup a filter like this?
bbunge
Posts: 2934
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Trying to setup a Filter

Post by bbunge »

Did you read: https://zoneminder.readthedocs.io/en/st ... vents.html

There are a lot of things you can do with filters. I use two: Purge older than 30 days and purge over 85% disk full.

Looking at the Alarm Frames value you may be able to: Alarm Frames Less than or equal to 100 and Date less than or equal to -10 day and Archive Status Unarchived only

You may need to write the 100 (or whatever usu choose) as -100

Keep in mind a "day" event may not run until after midnight unless you run it manually.
Yamanipanuchi

Re: Trying to setup a Filter

Post by Yamanipanuchi »

Thank you! Although I did try these setting before and it did not work, It worked this time.

I did not need to use the -100 which is odd. But ultimately it work!

Thanks again!
Yamanipanuchi

Re: Trying to setup a Filter

Post by Yamanipanuchi »

I was able to setup with Filter. If I Submit or Execute the filter, It shows events. But it never automatically runs. I have it running at %80 disk full and I am at %82... Nothing gets deleted.
Yamanipanuchi

Re: Trying to setup a Filter

Post by Yamanipanuchi »

Here is a screen shot...

//imgur.com/a/wQh7U8K

add the http.

I also tried

//imgur.com/a/7RTMbjz

Still nothing.
Locked