Re-introduce ppid (parent process id) in order to be able to recreate the exact process tree from logs
This commit is contained in:
Родитель
60a1a4f4cf
Коммит
9710a77734
|
@ -1027,6 +1027,8 @@ static void handle_event(auparse_state_t *au,
|
|||
goto_record_type(au, type);
|
||||
json_msg.details = json_add_attr(json_msg.details, "process", auparse_find_field(au, "exe"));
|
||||
goto_record_type(au, type);
|
||||
json_msg.details = json_add_attr(json_msg.details, "ppid", auparse_find_field(au, "ppid"));
|
||||
goto_record_type(au, type);
|
||||
json_msg.details = json_add_attr(json_msg.details, "pid", auparse_find_field(au, "pid"));
|
||||
goto_record_type(au, type);
|
||||
json_msg.details = json_add_attr(json_msg.details, "gid", auparse_find_field(au, "gid"));
|
||||
|
|
Загрузка…
Ссылка в новой задаче