mods to output.py to add meta data

This commit is contained in:
Michel Oosterhof 2015-07-29 13:52:48 +04:00
parent 00477f777b
commit d13293af68
1 changed files with 3 additions and 3 deletions

View File

@ -108,8 +108,8 @@ class Output(object):
ev = copy.copy(event)
if 'isError' in ev:
del ev['isError']
#if 'isError' in ev:
# del ev['isError']
ev['sensor'] = self.sensor
# add ISO timestamp and sensor data
@ -137,7 +137,7 @@ class Output(object):
if not match:
return
sessionno = int(match.groups()[0])
del ev['system']
#del ev['system']
if sessionno in self.ips:
ev['src_ip'] = self.ips[sessionno]