mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
Logging user login via alerts, added 'user activity' alerts type
This commit is contained in:
parent
51af9ea40c
commit
aab9e384ed
6 changed files with 69 additions and 2 deletions
|
|
@ -51,6 +51,8 @@ local function formatAlertRecord(alert_entity, record)
|
|||
|
||||
if alert_entity == "flow" then
|
||||
column_msg = formatRawFlow(record, record["alert_json"])
|
||||
elseif alert_entity == "User" then
|
||||
column_msg = formatRawUserActivity(record, record["alert_json"])
|
||||
end
|
||||
|
||||
column_msg = string.gsub(column_msg, '"', "'")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue