Process Mining Analyzer
Operator: Abdulla Al Fahad. How tools are built and checked
The process as drawn on a wall and the process as it runs differ, and the difference lives in the timestamps: which step really follows which, how long a case waits between two steps, and how many cases go back and repeat one. An event log, one row per step with a case id, an activity and a time, is enough to recover all of it.
Open a CSV, XLSX or IEEE XES log and the page draws a directly-follows map with counts and waiting times, ranks the variants, lists the slowest paths and the repeated steps, and builds a process tree you can download as BPMN. An alpha-miner net is replayed against the log for a fitness figure.
Everything is computed from the events as given, with limits stated below: it is a viewer for one log at a time, not a mining suite.
Key features
- Directly-follows map with shaded activities, arrow width by count and a median or mean time on each path, exported as SVG or PNG
- Sliders for the share of activities and paths kept, with a notice of how many of each the map is hiding
- Variants ranked by frequency, with share and mean duration
- Case-duration distribution, bottleneck paths by total waiting time, rework per activity, resource workload and handovers
- Filters by case start date, duration, top variants, start and end activities, removed activities and resources
- Inductive miner process tree exported as BPMN 2.0 with a diagram, and an alpha net exported as PNML with token-replay fitness per variant
How a log becomes a map, a tree and a fitness figure
A CSV or XLSX log needs three columns: case id, activity and a completion timestamp, with a resource and a start timestamp optional. Timestamps may be ISO 8601, slash dates with an optional time, or Excel serial numbers; times without a zone are read as UTC. Rows without a case id, activity or readable time are skipped and counted. Tables are read up to 300,000 rows; XES files up to 300 MB and 2 million events. In XES the activity is concept:name, the time is time:timestamp, the resource is org:resource and a trace's name is its concept:name; events whose lifecycle:transition is not complete are skipped, start and complete events are not paired, and a DOCTYPE or entity declaration makes the page refuse the file.
How it works
A case's events are sorted by time, equal times keeping file order. An arrow from a to b counts each case in which b is the next event after a. The time on it is the gap between the two completion timestamps, or between completion of a and the start of b when a start column is mapped.
The inductive miner works on the variants. It looks for an exclusive-choice, sequence, parallel or loop cut of the directly-follows graph, splits the log along it and recurses, and a log with no cut becomes a flower model. An empty trace becomes a choice with a silent step. The noise setting ignores a directly-follows edge whose count is below that fraction of the largest count leaving its source activity, for the cut search only.
The alpha miner reads the footprint of the variants: a causes b when a is followed by b and never the reverse, activities are parallel when both orders occur, and each maximal pair of activity sets becomes a place. Token replay puts one token in the source place, fires each activity of a case, adds a token whenever an input is missing, and counts the tokens left over. Fitness is 0.5 times (1 minus missing over consumed) plus 0.5 times (1 minus remaining over produced), summed over all cases.
The slider keeps the most frequent share of activities, then the most frequent share of paths between them, and always keeps each kept activity's strongest incoming and outgoing path so the map stays connected.
When this helps
- A support lead loads a ticket export with 40,000 events and uses the 20% path slider to show the three paths that carry most tickets, then lowers the slider to show where cases bounce back.
- An analyst compares two filtered copies of the same log, cases starting in March and cases starting in April, by downloading each workbook and comparing the variant and path sheets.
- A process owner asks who waits for whom: the handover table lists the most frequent hand-offs between people, and the bottleneck table ranks the paths by total waiting time, which in the example puts a payment wait first.
- A BPMN modeller exports the process tree of a filtered log that keeps only the 3 most frequent variants and opens the file in a modeller as the starting drawing.
- A team that suspects a skipped approval filters to cases that end with Ship Order and reads the variants tab to see how many of them never contain an Approve Order.
Opening a file
- Drop a log file, or press Example. For CSV and XLSX, check the column choices the page guessed.
- Press Build the log and read the counts of cases, events, activities and variants.
- Study the map, then lower the path slider to see the main flow; the notice says what is hidden.
- Open Variants and Performance for the exact paths, the slowest hand-offs and the repeated steps.
- In Models and fit, read the process tree and the alpha net's fitness, and download BPMN or PNML.
Example
The Example button: an invented order-handling log of 150 cases in March 2025, mapped as Case ID, Activity, Timestamp and Resource
1,180 events over 10 activities: the usual path of 8 steps, invoice sent before shipping, a repeated credit check, cancellation after the credit check, and a payment reminder before payment.What the page reports
5 variants of 83, 39, 15, 8 and 5 cases. The median case takes 3.7 days and the longest 9.9. Check Credit repeats in 10.0% of the cases that contain it. The slowest path in total is Send Invoice to Receive Payment, 324.7 days summed over cases. The inductive miner returns a sequence of Create Order, a loop of Check Credit and a choice between Cancel Order and the rest, with Ship Order and Send Invoice in parallel. The alpha net replays at fitness 0.9453, and 8 of 150 cases fit without a missing or remaining token.Tips for best results
- Map the start timestamp column if your log has one: the time on a path then measures waiting alone, not waiting plus the previous step's work.
- Set the miner noise to 0.1 to 0.2 for a log with a handful of odd cases; at 0 the inductive miner reproduces every variant and often ends in a flower model.
- Use Remove activities to take out status-change noise such as automatic system steps before you read variants.
Limits
The sliders hide behaviour that happened. A path below the threshold is still counted in every number on the map; the notice states how many paths and activities are not drawn.
The alpha miner cannot find loops of length one or two and cannot discount rare behaviour. A low fitness on a log with a repeated step says the model is too simple.
The process tree is not replayed, and imported BPMN or PNML models are not read. The fitness figure belongs to the alpha net only.
Without start times, the time on a path mixes waiting and working. Do not read it as queue time.
Common errors and how to fix them
- No usable events: every row lacked a case id, an activity or a readable timestamp
- Check the three column choices. A timestamp column holding text such as 'yesterday' or a locale date with month names the page does not know is skipped row by row.
- The activity column has more than 2,000 distinct values
- That column is probably a free-text description or an id. Choose a column with step names.
- The XES file is not well-formed
- The XML is cut off or damaged, usually by an interrupted export. Re-export the log; the message names the first problem the XML reader found.
- The case id, activity and timestamp must be three different columns
- One column was chosen for two roles. A log where the case id and activity share a column cannot be read; split them in the source first.
Best practices
- Start with the unfiltered log to see how many variants there are, then filter. A log with 5 variants for 150 cases is far more regular than one with 120.
- Keep the source log and the filter settings in your notes: the page does not store them.
Reading the process tree
A sequence arrow means the parts happen in order, a cross a choice between them, a wedge that they run in any order, and a loop that the first part is repeated with the second part in between. A silent step is a path that skips a part. Leaves are activities.
The BPMN file draws leaves as tasks, choices and loops as exclusive gateways and parallel parts as parallel gateways, laid out left to right. A silent step becomes an empty task called skip, because BPMN has no silent task.
Limits on size
At most 400,000 cases, 2,000 activities and 20,000 resources are kept. The inductive miner uses the 5,000 most frequent variants and reports what share of cases they cover, and the alpha miner stops at 60 activities. Filter first when a log is larger than that.
Frequently asked questions
How do I know the map and the models are right?
The directly-follows counts, variants, process tree and alpha places were checked by hand on a log from the process-mining literature, [⟨a,b,c,d⟩ three times, ⟨a,c,b,d⟩ twice, ⟨a,e,d⟩ once], which is used in the alpha-algorithm lecture notes of Leiden University and on Wikipedia. The map counts 3, 3, 3, 2, 2, 2, 1 and 1 for the eight arrows, the inductive miner gives sequence(a, choice(parallel(b, c), e), d), the alpha miner finds the four places ({a},{b,e}), ({a},{c,e}), ({b,e},{d}), ({c,e},{d}), and the trace ⟨a,d⟩ replays at 0.5 with 2 missing and 2 remaining tokens.
Why is my parallel pair drawn as two arrows?
The map shows what follows what, so two activities that happen in either order give an arrow in each direction. The process tree and the alpha net are where parallelism is made explicit.
What does the noise setting change?
It only changes which directly-follows edges the miner uses when it looks for a cut. Events that do not fit the resulting tree are dropped from the sub-logs, so the tree no longer describes them.