Does Syslog in Linux include PID information like SecurityEvent log in Windows?

CJ Jung 0 Reputation points
2023-11-28T01:57:12.75+00:00

Hi

I wonder why syslog collected in Linux does not have PID information.

Is there any way to collect PID and PPID information from Linux?

For example, in Windows, SecurityEvent log include information about PID (i.e., which command is executed), so that users can trace back which process is called by which process.

Maybe it can be possible by configuring something, but I don't see this in Linux.

Anyone can give me a help?

Is creating custom log only way to do this?

Microsoft Intune Linux
Microsoft Intune Linux
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Linux: A family of open-source Unix-like operating systems.
53 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.