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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...