Hello
@LUIS LATAS,
Hope you are well :)
Guess is more simple to do it with API or psql statement.
Sure Its not the right answer, but if i have to do so i will start near that if you have to do this via a search on events :
SELECT "CRE Name", MIN("magnitude"), SUM("eventCount") AS 'Event Count (Sum)', COUNT(*) AS 'Count' from events where ( "deviceType"='18' AND "hasOffense"='true' and magnitude >7 ) GROUP BY "CRE Name" order by "Count" desc last 6 hours
Hope this helps,
Regards,
@zoldax
------------------------------
@zoldax
https://www.youracclaim.com/users/pascal-weber.029e134d/badges------------------------------