Community discussions

MikroTik App
 
siyavash1989
just joined
Topic Author
Posts: 1
Joined: Tue Jan 15, 2019 7:33 am

show how much traffic for every ip in every day

Tue Jan 15, 2019 7:40 am

Hello friends.
Sorry for my bad English.
I use Router Os and I can see traffic every ip use in Filter Rules but it totally.
I want to see every day in seperate for every ip.
I did attach the photo of my filter rules.
can you help me.
thanks a lot
download/file.php?mode=view&id=35144
You do not have the required permissions to view the files attached to this post.
 
solar77
Long time Member
Long time Member
Posts: 586
Joined: Thu Feb 04, 2016 11:42 am
Location: Scotland

Re: show how much traffic for every ip in every day

Thu Jan 17, 2019 3:57 pm

 
Binser
newbie
Posts: 48
Joined: Fri Dec 28, 2018 7:50 pm

Re: show how much traffic for every ip in every day

Thu Jan 17, 2019 3:58 pm

You need to write a "System > Script > +" named "Reset" with the line:

/ip firewall filter reset-counters-all

OR

/ip firewall filter reset-counters

in it.

Then do a "System > Scheduler > +" name it "ResetCounters", on-event put "Reset", your desired daily start-time, and VERY IMPORTANT change Interval to "1d 00:00:00" or copy paste the following in "New Terminal" window:
/system scheduler
add interval=1d name="ResetCounters" on-event="Reset" policy=reboot,read,write,test,romon start-date=\
    jan/14/2019 start-time=00:30:00
This will reset your counters every day at the specified time so only the daily stats are shown.
 
User avatar
sebastia
Forum Guru
Forum Guru
Posts: 1782
Joined: Tue Oct 12, 2010 3:23 am
Location: Antwerp, BE

Re: show how much traffic for every ip in every day

Thu Jan 17, 2019 4:05 pm

This is what you need: https://wiki.mikrotik.com/wiki/Manual:IP/Accounting
And since you don't have FastTrack, it will work as is.

Set to max 8k pairs, and create snapshots on day (or more frequently if needed)

Who is online

Users browsing this forum: onnyloh and 47 guests