Retrieving information about traffic

I have noticed that traffic information, exists in many mikrotik “items” like: interfaces, queues, firewall rules, etc.
For every usage of traffic/stats there is a different implementation. Am I wrong?

While in Simple Queues using the following command, you can get traffic values …

:foreach i in=[/queue simple find] do={:put ("--------------"); :foreach k in=[/queue simple get $i] do={:put ($k);};};

… in interfaces there is only the

:foreach i in=[/interface find] do={:put ("--------------------"); :foreach k in=[/interface monitor-traffic $i once] do={:put ($k);};};

… and in firewall

/ip firewall filter print stats

… which cannot be modified to show information for only one rule.


Is there any common way to get all these information? Or I have to create 3 parsers?