Splunk Enterprise Security

How to trace process tree/descendants

johnmccash
Explorer

I have windows and UNIX process start data in a logfile, including start time, process ID, and parent process ID. I want to be able to identify a specific process entry, and return all entries that are its descendants (children, grandchildren, great grandchildren, etc.), from the start time of the initial process to the present.

Because we're not tracking process termination, the reuse of a process ID, as indicated by a new process start event for one of the parent process IDs currently being traced, but without that new process's parent process ID being a different member of the set being traced, should result in removal of that new process ID from the trace set going forward from that point.

Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...