Skip to main content
QUICK REVIEW

[Paper Review] JXES : JSON Support for the XES Event Log Standard

Madhavi Bangalore Shankara Narayana, Hossameldin Khalifa|arXiv (Cornell University)|Jan 1, 2020
Scientific Computing and Data ManagementDecision Sciences4 references2 citations
TL;DR

This paper introduces JXES, a JSON-based standard for event logs compliant with the IEEE XES specification, enabling efficient, human-readable, and interoperable process mining data exchange. It proposes four JSON parser implementations (Jackson, GSON, Simple JSON, Jsoninter) in ProM, demonstrating that Jackson offers the best memory efficiency and Jsoninter the fastest export performance, with JXES reducing file size by up to 45% compared to XES.

ABSTRACT

Process mining assumes the existence of an event log where each event refers to a case, an activity, and a point in time. XES is an XML based IEEE approved standard format for event logs supported by most of the process mining tools. JSON (JavaScript Object Notation) is a lightweight data interchange format. In this paper, we present JXES, the JSON standard for the event logs and also provide implementation in ProM for importing and exporting event logs in JSON format using 4 different parsers. The evaluation results show notable performance differences between the different parsers (Simple JSON, Jackson, GSON, Jsoninter).

Motivation & Objective

  • To address the lack of a standardized, lightweight, and interoperable event log format for process mining beyond XML-based XES.
  • To enable efficient data interchange between process mining tools by defining a JSON-based event log standard that preserves XES semantics.
  • To implement and evaluate multiple JSON parser plugins in ProM for importing and exporting event logs in JXES format.
  • To compare the performance of different JSON parsers in terms of speed, memory usage, and file size for real-world and synthetic event logs.

Proposed method

  • Designing the JXES format based on XES principles: simplicity, flexibility, extensibility, and expressivity, using JSON objects to represent logs, traces, events, attributes, and extensions.
  • Defining a hierarchical structure where logs contain traces, traces contain events, and each supports global attributes, nested attributes, classifiers, and extensions via standardized JSON keys.
  • Implementing four distinct parser-based plugins in ProM for JXES import and export using Jackson, GSON, Simple JSON, and Jsoninter parsers.
  • Benchmarking parser performance using real-life (BPIC15, BPIC17, Level D2, Flag X2) and artificial event logs across three criteria: import/export speed, memory consumption, and file size.
  • Using Java's Runtime.totalMemory() and freeMemory() to measure memory usage, and recording average execution times over three runs for speed evaluation.
  • Evaluating file size reduction by comparing uncompressed XES, JXES, and zipped XES formats, noting that JXES eliminates redundant tags and type declarations.

Experimental results

Research questions

  • RQ1How can a JSON-based event log format be designed to preserve the semantics and extensibility of the XES standard while improving readability and efficiency?
  • RQ2What are the performance trade-offs between different JSON parsers (Jackson, GSON, Simple JSON, Jsoninter) when importing and exporting large-scale event logs in JXES format?
  • RQ3To what extent does JXES reduce file size compared to XES and zipped XES, and how does this impact I/O and transfer efficiency?
  • RQ4Which parser provides the optimal balance of speed and memory efficiency for JXES import and export in process mining workflows?
  • RQ5Does lossless conversion between XES and JXES preserve all metadata, including global attributes, extensions, and nested structures?

Key findings

  • Jackson JSON parser demonstrated the lowest memory consumption across all import and export operations, using up to 70% less memory than Simple JSON on the largest log (BPIC17).
  • Jsoninter achieved the fastest export speed, outperforming all other parsers and being up to 4x faster than XES Naive export, attributed to its dynamic class shadowing tri-tree parsing mechanism.
  • JXES reduced file size by up to 33% compared to XES and 45% compared to zipped XES, with the BPIC15 5 log shrinking from 43.9 MB (XES) to 29.6 MB (JXES).
  • The XES Naive importer performed surprisingly well in speed, likely due to explicit type declarations in XML, whereas JSON required full parsing to infer types, increasing overhead.
  • No information loss occurred during XES-to-JXES and JXES-to-XES conversion, with only the log version header differing, confirming semantic fidelity.
  • The recommended parser for import is Jackson (best memory efficiency), while Jsoninter is optimal for export (best speed), based on the performance evaluation across all test logs.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.