mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Improve flow alert to historical flow lookup
This commit is contained in:
parent
853bb949c4
commit
3aeed99115
2 changed files with 5 additions and 3 deletions
|
|
@ -537,8 +537,8 @@ function alert_utils.getLinkToPastFlows(ifid, alert, alert_json)
|
|||
end
|
||||
|
||||
-- Look a bit around the epochs...
|
||||
epoch_begin = epoch_begin - 150
|
||||
epoch_end = epoch_end + 150
|
||||
epoch_begin = epoch_begin - (5*60)
|
||||
epoch_end = epoch_end + (5*60)
|
||||
|
||||
-- ... but not too much
|
||||
if epoch_end - epoch_begin > 600 then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue