We have processes which auch other processes to finish some tasks. For example, the launcher can launch a Login process, which then launches a process which does some other work, which can then launch other processes.
Each launch is identified by Event-Launch and has the process id of the next process it is starting before exiting. The second field of each line has the process id of the process.
Everything between Event-Launch (first time for a user) and Event-Logout needs to be a transaction.
We do this in custom code by parsing out each event and then searching the log for entries which match the UserId and ProcessId. We do this till we find a logout event for that user.
How can I group tthese into a transaction using splunk?