This filter allows you to ensure that the trace concept names are global and are unique.
- The input log satisfies at least one of the following three conditions:
- It does not have the concept extension.
- It does not have “concept:name” as global trace attribute.
- It has traces with the same concept name.
As from FilterBook-6.11.19.
Suppose we have a log containing four traces that have “X”, “X 2”, “X”, and “X 2” as values for the “concept:name” attribute. The trace with name “X” is the first with that name. Therefore, it keeps its name. Same with the second trace. However, the name of the third trace is the same as the name of the first trace. Therefore, we change its name to “X 2” and try that. But this name is the same as the name of the second trace. Therefore, we change it again into “X 2 2” and try that. As we have not seen this name before, this will be the name of the third trace in the filtered log. Same with the fourth trace, which gets renamed to “X 2 3”, as we have already seen two traces that tried the name “X 2”. Thus, in the end, these traces are renamed to “X”, “X 2”, “X 2 2”, and “X 2 3”.