mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
Add aggregated flows data retention. (#7497)
This commit is contained in:
parent
c8bbb0196b
commit
73ea3b6dfc
5 changed files with 50 additions and 6 deletions
|
|
@ -482,6 +482,14 @@ if auth.has_capability(auth.capabilities.preferences) then
|
|||
max = 365 * 10
|
||||
})
|
||||
|
||||
prefsInputFieldPrefs(subpage_active.entries["aggregated_flows_data_retention"].title,
|
||||
subpage_active.entries["aggregated_flows_data_retention"].description, "ntopng.prefs.",
|
||||
"aggregated_flows_data_retention_days", data_retention_utils.getAggregatedFlowsDataRetention(), "number", nil, nil, nil,
|
||||
{
|
||||
min = data_retention_utils.getDefaultRetention()+1,
|
||||
max = 365 * 10
|
||||
})
|
||||
|
||||
prefsInputFieldPrefs(subpage_active.entries["ts_data_retention"].title,
|
||||
subpage_active.entries["ts_data_retention"].description, "ntopng.prefs.",
|
||||
"ts_and_stats_data_retention_days", data_retention_utils.getDefaultRetention(), "number", nil, nil, nil, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue