LUA Correlation Example

Discussion created by bvloch on Jan 28, 2015
Latest reply on Feb 26, 2016 by Greenones

I was wondering (hoping really) if someone could post an example snipet of how to do the following with a LUA script. Send one alarm when you have more than 10 alarms from the same probe/hub with similar text after an overdue age of one hour. I know how to send the alarm and the regex statement, what I can seem to figure out (find an example of) is how to querry the alarm list and count the alarms that I am interested in bundling up. Any suggesstion or examples would be greatly appreciated. 


Thank you.