Depending on the objectives of the anlysis you can create rules on top of the information that the engine is externalyzing based on the process execution. Or you can consume the information externalized by the process engine as events that can be analyzed by Drools Fusion, that will allow you to react in real time to the situations described by your rules.
Cheers