Community discussions

MikroTik App

Search found 1 match

by FabioJr
Thu May 28, 2020 6:06 am
Forum: Scripting
Topic: Firewall Filter RATE: How to access value in script?
Replies: 4
Views: 2056

Re: Firewall Filter RATE: How to access value in script?

To collect the Rate in "/ip firewall filter", I am using the following script: #START :local comm "COMMENT"; :local time 1; :local bt0 [/ip firewall filter get [find comment=$comm] bytes]; :delay $time; :local bt1 [/ip firewall filter get [find comment=$comm] bytes]; :local rate ((($bt1 - $bt0) / $t...