mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Executes db explorer queires automatically on user click
Clicking on flow details (e.g., protocol or src or dst) automatically redirects the user to the db explorer page and preserves selection details (pro version).
This commit is contained in:
parent
c25a9a632d
commit
926a57f658
4 changed files with 6 additions and 5 deletions
|
|
@ -423,7 +423,7 @@ function getHostTopTalkers(interface_id, host, l7_proto_id, l4_proto_id, port, i
|
|||
else
|
||||
sql = sql.." CASE WHEN IP_SRC_ADDR = '"..host.."' THEN IP_DST_ADDR ELSE IP_SRC_ADDR END addr, "
|
||||
sql = sql.." CASE WHEN IP_SRC_ADDR = '"..host.."' THEN OUT_BYTES ELSE IN_BYTES END peer_bytes_sent, "
|
||||
sql = sql.." CASE WHEN IP_SRC_ADDR = '"..host.."' THEN IN_BYTES ELSE OUT_BUTES END peer_bytes_rcvd, "
|
||||
sql = sql.." CASE WHEN IP_SRC_ADDR = '"..host.."' THEN IN_BYTES ELSE OUT_BYTES END peer_bytes_rcvd, "
|
||||
end
|
||||
sql = sql.." FIRST_SWITCHED, LAST_SWITCHED "
|
||||
sql = sql.." FROM flowsv"..version
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue