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 ...
Code: Select all
:foreach i in=[/queue simple find] do={:put ("--------------"); :foreach k in=[/queue simple get $i] do={:put ($k);};};
Code: Select all
:foreach i in=[/interface find] do={:put ("--------------------"); :foreach k in=[/interface monitor-traffic $i once] do={:put ($k);};};
Code: Select all
/ip firewall filter print stats
Is there any common way to get all these information? Or I have to create 3 parsers?