mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Implement store_report in the dashboard component
This commit is contained in:
parent
98504cc1b4
commit
a7bf6accc3
3 changed files with 43 additions and 14 deletions
|
|
@ -1842,6 +1842,7 @@ local known_parameters = {
|
|||
["flow_hash_id"] = validateNumber, -- The ID uniquely identifying the flow in the hash table
|
||||
["user"] = validateSingleWord, -- The user ID
|
||||
["snapshot_name"] = validateSingleWord, -- The user ID
|
||||
["report_name"] = validateSingleWord, -- The report name
|
||||
["pool"] = validateNumber, -- A pool ID
|
||||
["pool_id"] = validateNumber, -- A pool ID
|
||||
["direction"] = validateDirection, -- Sent or Received direction
|
||||
|
|
@ -2515,6 +2516,7 @@ local known_parameters = {
|
|||
["payload"] = {jsonCleanup, validateJSON},
|
||||
["JSON"] = {jsonCleanup, validateJSON},
|
||||
["host_threshold_rules"] = {jsonCleanup, validateJSON},
|
||||
["content"] = {jsonCleanup, validateJSON},
|
||||
|
||||
-- POST pcap
|
||||
["pcap"] = validatePcap,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue