I need to access the transfer rates associated with a firewall filter rule. The properties that I am referring to can be seen in winbox in the following place: ip/firewall/filter/ ... choose a filter rule ... go to the Statistics tab ... Under that tab there is a graph displayed, and four numerical fields. I can access the "Bytes" and "Packets" fields with scripting. But I have not found any documentation on how to access the "Rate" field and "Packet Rate" field that can both be seen in winbox. In fact, they don't even appear in the wiki as properties. But there must be some way to access them, since winbox displays them, or to calculate them.
In brief what I am trying to do is to periodically capture the the download data rate in Mb/s that is associated with a Connection Mark. Based on that data rate, I need to make certain decisions. Any suggestions are appreciated.