mbolli / nfsen-ng

Responsive NetFlow visualizer built on top of nfdump tools.
Apache License 2.0
231 stars 43 forks source link

add time option to flows #51

Open si458 opened 4 years ago

si458 commented 4 years ago

Hi,

brilliant code and wonderful panel!

im wondering how simple it would be to add a time option to the flow tab? currently selecting 24 hours is brilliant to get todays event, and the slider is brilliant to select say another day like 2 days ago,

but i then have to scroll threw pages and pages and pages just to find the rough time i needed to check traffic

all you would have to do would be use this extra command for nfdump -t 2020/05/26.18:15:00-2020/05/26.18:30:00 this would then search for data thats only between those timestamps!

mbolli commented 4 years ago

This might not be needed, because: If you have your 24 hour window, and see an interesting spike in the graph, you can zoom in on it in the graph (you have 2 handles below the graph to do that). After that, click on the button Copy from graph to copy the exact time slot to the general time slider in the top. Now you can use the flows/statistics tabs with your exact time slot.

si458 commented 4 years ago

sorry for the delay in replying i now see what you mean! set the time using the graphs tab first, then click button, then switch the flows tab then search and it changes its pretty long winded and the slider for the time bit is very silly and hard to work out also its impossible to reset/adjust the time after you have 'copy from graph' without having to click the 24 hours button to reset it to then re-slide the slider again personally a simple, from and to time box would be much easier and simpler!

si458 commented 4 years ago

also is the anyway to set the start date for the slider? its always set as 27 may 2017 which is 2 years ago today, but we did a fresh install of our monitoring machine so it only has data from 2 days ago, so why would i need to search for a year ago say?