Page 1 of 1

Understanding StartDate and EndDate Filters

Posted: Sun Jan 12, 2020 9:00 am
by bignellrp
Hi,

Date/Time is missing on 1.33 and has been replaced with StartDate and EndDate.

StartDate for example only seems to let me choose a date. Im just trying to create a delete when older than 5 days but if i put -1 in startdate it finds all events including the current day.

I searched the docs and cant find any examples as the examples are for 1.32

Re: Understanding StartDate and EndDate Filters

Posted: Sun Jan 12, 2020 6:20 pm
by iconnor
Start Date/Time is there... so is Start Time.... Everything works the same as before, except that before you only had Date/Time which is ambiguous. Now we have Start Date/Time and End Date/Time which work the same as Date/Time did.

Re: Understanding StartDate and EndDate Filters

Posted: Sun Jan 12, 2020 9:26 pm
by bbunge
Hmm..
Does not seem to let me set a purge after 30 days.
use to set
Date less than or equal to -30 day

Now a calendar comes comes up which sets a specific date. Really need to keep the rolling day purge somehow. Do not want to depend on purge at disk percent.

Re: Understanding StartDate and EndDate Filters

Posted: Sun Jan 12, 2020 10:57 pm
by iconnor
You can still type in -30 days

Re: Understanding StartDate and EndDate Filters

Posted: Sun Jan 12, 2020 11:37 pm
by bbunge
Is there any functional difference between Start and End (date/Time)?

Answered my own question..

Set up filter to delete events by days. Used both End Date and Start Date Less than or equal to -6 day Archived status unarchived only

and both worked.

Re: Understanding StartDate and EndDate Filters

Posted: Mon Jan 13, 2020 5:12 pm
by mikb
bbunge wrote: Sun Jan 12, 2020 11:37 pm Is there any functional difference between Start and End (date/Time)?
The answer to that seems too obvious, but ... one filter option uses the START time of the event, and the other the END time of the event for filtering.

As your events are probably shorter than a day each, then you'd see pretty much the same behaviour, as they'd all start and end on the same day.

However, you might see some stuff happen around midnight (e.g. starts Tuesday 23:58, ends Wednesday 00:02) ... where one rule would zap this, but the other rule would wait a day later to zap it.

Re: Understanding StartDate and EndDate Filters

Posted: Mon Jan 13, 2020 9:42 pm
by iconnor
The only issue with EndDate is that it doesn't get populated until after the event is finished... so some action filters like SMS, Email etc won't act until the event closes. Not a big deal but something to keep in mind.

Re: Understanding StartDate and EndDate Filters

Posted: Mon Jan 20, 2020 10:03 pm
by bignellrp
Sorry but I’m still having issues with this. I tried -3 days and delete all events but the disk continues to fill up. I keep having to manually go and delete the events folders from the server. The filter finds events and seems to be clearing from the dB but I’m not sure it’s deleting them from the server.

I tried -1 days and it’s the same.