mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Encode ecs to json
This commit is contained in:
parent
7b01cace7d
commit
ca12bb53b4
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@ function syslog.sendMessage(settings, notif, severity, syslog_format)
|
|||
if ntop.isEnterpriseM() then
|
||||
package.path = dirs.installdir .. "/pro/scripts/lua/modules/?.lua;" .. package.path
|
||||
local ecs_format = require "ecs_format"
|
||||
msg = ecs_format.format(notif)
|
||||
msg = json.encode(ecs_format.format(notif))
|
||||
else
|
||||
return false
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue