I have a question about the list of analysis events.

There is an analysis event in the alarm event viewer list in the picture above, and the query data for this analysis event is very short.

What we want is that the data period of the analysis event is long.

For example, an analysis event that occurred during the month or an analysis event that occurred during the year.

Can I know a good example or method?

In the sample, the loadClientAnalytics method, you can see how the GetEventLines method is used. If you have many events you might want to do a EventFilter to get only some specific ones, or you might use multiple calls and first get 0-100, then 100-200 etc.

https://doc.developer.milestonesys.com/html/index.html?base=miphelp/interface_video_o_s_1_1_platform_1_1_proxy_1_1_alarm_client_1_1_i_alarm_client.html&tree=tree_search.html?search=getalarmclient

There is no timestamp parameter on the GetEventLines method and you can get events that are years old.

Whether you have events that far back in time, is a matter of configuration.

In the Management Client, Tools, Options, Alarms & Events tab, you can configure it..

https://doc.milestonesys.com/latest/en-US/standard_features/sf_mc/sf_ui/mc_systemsetting_optionsdialog.htm?cshid=9843#MC_AlarmsAndEventsTabOpt.htm

Please note that saving many events will fill the SQL Server database, you can potentially overfill the database.

Thank you for your answer.

I’m trying to set it up as you said, but it’s not saved in the free version, so can’t I set it in the free version?

The free version, XProtect Essential+, does not have Alarm Manager capabilities.

ref. https://www.milestonesys.com/products/software/xprotect-comparison/

If you cannot see the options as per my screen capture above it is because of this.

You will have to use a better version as development and test server in order to develop something handling alarms.

One option for you might be to join the Milestone Technology Partner program, as it can give you access to test licenses.

https://www.milestonesys.com/partners/become-a-partner/technology-partner/

I understand.

Thank you.