Alarms KPIs on Ignition EDGE

I want to use the alarm data recorder to measure KPIs like
but I know that Edge doesn’t include database support.
What is the best way to access the data buffer in order to create a summary view and sort them by specific categories, like frequency or duration?