This probably won't make much sense as is, without the data, but is a Shiny app which draws a process map and which allows you to filter out infrequent traces with a slider, like commercial products such as Celonis.
Andy McCann, off to muck about in the water and have a good time