<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>An uncertainty-aware event log of network trafic</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Gal Engelberg</string-name>
          <email>gal.engelberg@accenture.com</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Moshe Hadad</string-name>
          <email>moshe.hadad@accenture.com</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Marco Pegoraro</string-name>
          <email>pegoraro@pads.rwth-aachen.de</email>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Pnina Sofer</string-name>
          <email>spnina@is.haifa.ac.il</email>
          <xref ref-type="aff" rid="aff2">2</xref>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Ethan Hadar</string-name>
          <email>ethan.hadar@accenture.com</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Wil M.P. van der Aalst</string-name>
          <email>wvdaalst@pads.rwth-aachen.de</email>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Accenture Labs</institution>
          ,
          <addr-line>Tel Aviv</addr-line>
          ,
          <country country="IL">Israel</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Chair of Process and Data Science, RWTH Aachen University</institution>
          ,
          <addr-line>Ahornstr. 55, 52074 Aachen</addr-line>
          ,
          <country country="DE">Germany</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Department of Information Systems, University of Haifa</institution>
          ,
          <addr-line>Haifa</addr-line>
          ,
          <country country="IL">Israel</country>
        </aff>
        <aff id="aff3">
          <label>3</label>
          <institution>International Conference on Business Process Management</institution>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2023</year>
      </pub-date>
      <abstract>
        <p>Business Process Management (BPM) heavily relies on event logs for process mining. However, traditional event logs may not always be available or may be harder to obtain for unlogged or unconventionally logged activities. To overcome these limitations, network trafic data can be used as an alternative source for constructing event logs. However, incorporating network trafic data poses its own set of challenges. These challenges include dealing with the large volume and diverse nature of network packets, as well as the uncertainty in mapping low-level events in a stream to specific activity types and border points, namely, the start and the end of an activity. In this paper, we introduce novel datasets that have been constructed from an enterprise network simulation environment. These datasets consist of two types of event logs: network trafic-level event logs and abstracted business-level event logs. Both types of logs exhibit various forms of uncertainty. These labeled datasets can serve as valuable benchmarks for a range of process mining tasks, such as event abstraction, process discovery, and conformance checking from uncertain event data.</p>
      </abstract>
      <kwd-group>
        <kwd>Event log</kwd>
        <kwd>process mining</kwd>
        <kwd>network trafic</kwd>
        <kwd>uncertainty</kwd>
        <kwd>XES</kwd>
        <kwd>supervised training</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        In recent decades, there has been an increasing adoption of Business Process Management (BPM)
in organizations. BPM enables organizations to explore, analyze, monitor, and continuously
enhance work processes [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. Within the realm of BPM, process mining techniques are utilized
to discover and monitor process models, identify bottlenecks in the processes, detect deviations
from expected execution, and more [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. Process mining heavily relies on event logs, which
are generated by information systems or by recording the actions performed during process
execution. As per the XES standard [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], a log consists of traces that depict the execution of a
process instance. A trace represents an ordered collection of events, each event comprising
attributes such as an activity label, a timestamp, and a case ID.
      </p>
      <p>LGOBE
∗Corresponding author.
http://mpegoraro.net/ (M. Pegoraro); https://vdaalst.com/ (W. M.P. v. d. Aalst)</p>
      <p>
        Nevertheless, there are instances where conventional event logs are either unavailable or
exist in diverse formats [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. Consequently, alternative sources such as databases, machine logs,
SOAP messages, and others are examined to generate standardized event logs [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. For instance,
in previous studies, event logs were extracted from relational databases [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], and low-level
database transaction logs were utilized to uncover process models [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. Furthermore, processes
may encompass multiple systems or incorporate activities that are not adequately documented
in the log. As such, we suggest incorporating network trafic data as an additional data source
for the purpose of process event log creation.
      </p>
      <p>
        The potential utilization of network trafic data for process mining remains relatively
unexplored, ofering opportunities to address limitations in existing event logs by capturing the
entire process and incorporating unlogged actions. However, leveraging network trafic data
for BPM presents significant challenges due to the gap between technical network operations
and business activities. The considerable volume of network trafic data, consisting of packets
originated by diverse network protocols, further complicates the reconstruction of messages,
with a substantial number of packets generated for each business activity [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. Moreover,
uncertainty represents a fundamental challenge in utilizing network trafic-based event logs, as the
continuous nature of network trafic obscures clear indications of individual activity start and
end. In addition, the concurrent execution of multiple activities makes the mapping of network
trafic packets to specific business activity traces highly challenging and subject to an inherent
uncertainty. In our recent work, we addressed these challenges by discovering a network trafic
behavioral model of an activity [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ], and by proposing a log abstraction method that transforms
network trafic data to a business-level event log [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], which holds uncertainty to some extent.
      </p>
      <p>
        Uncertainty in event logs refers to recorded executions of specific activities in a process,
accompanied by an indication of uncertainty in the event attributes. Uncertainty afecting
the attributes that define the control-flow of a process (case ID, timestamp, and activity label)
is particularly critical, since it directly afects most process mining techniques, including the
discovery of a process model and conformance checking. [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ] introduced a taxonomy of uncertain
event data, and a method for conformance checking under uncertainty conditions. The logs
presented in this paper are afected by uncertainty, which we classify and describe.
      </p>
      <p>
        In this paper, building on the results obtained in [
        <xref ref-type="bibr" rid="ref7 ref8">7, 8</xref>
        ], we provide the low-level network
trafic data, and the resulted business-level event logs 1 to the BPM community. These datasets
could serve as a benchmark for various of process mining tasks, such as event abstraction,
process discovery and conformance checking from uncertain event data. In addition to the
provided datasets, we perform an analysis of their uncertain behavior. The remainder of the
paper is structured as follows. Section 2 specifies the dataset extraction steps, Section 3 describes
the uncertain behavior of the datasets; finally, Section 4 presents the conclusions of this paper.
      </p>
    </sec>
    <sec id="sec-2">
      <title>2. Data Extraction</title>
      <p>
        This section describes the steps taken to extract the event logs. The event logs were generated
with an enterprise network simulation environment, that represents a typical enterprise system
executing business process cases. The simulated environment consisted of endpoint machines,
1The resource, a usage guide, and a license: https://github.com/HaifaUniversityBPM/traffic-data-to-event-log
each associated with a human participant engaged in specific activities. These endpoint
machines communicated with an Odoo ERP web application [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] through an HTTP application
layer protocol. The Odoo ERP application, in turn, communicated with a PostgreSQL database
server2 and a mail server via the PGSQL and SMTP application layer protocols, respectively. We
applied the following steps to extract the datasets, a detailed description can be found in [
        <xref ref-type="bibr" rid="ref7 ref8">7, 8</xref>
        ].
      </p>
      <p>Simulation of business process cases. The simulation environment executed cases of
two business processes: an HR (human resources) recruitment process, and a purchase-to-pay
process. For each execution, the network communication between the diferent devices was
recorded. We created two types of data sets: one for training, in which each activity was running
in isolation, and another for evaluations, in which process cases were running in parallel.</p>
      <p>Pre-processing and filtering. At this stage, we performed an iterative process of filtering
the data to remove noise and irrelevant information to obtain more compact, cleaner, and
slightly abstracted logs for further analysis. In the resulting datasets, each packet is represented
as an event in a stream.</p>
      <p>
        Event classification and case correlation. At this stage, we trained two sequence models
on the training data set using Conditional Random Fields (CRF) [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ]: The first was used for
identifying the events that act as border points of an activity, representing an activity start
and end. The second was used to identify the activity type that correlates to a sequence of
events. We then applied the trained models to the evaluation dataset, where packets generated
by activities that were performed in parallel, as part of process cases that run in parallel to one
another, were interleaved in one stream. Then, we assigned a case ID for each activity type by
correlating attribute values between events. Activity timestamps were defined as the recording
time of their correlated events.
      </p>
    </sec>
    <sec id="sec-3">
      <title>3. Features and Uncertain Behavior</title>
      <p>The extraction procedure for the network trafic logs we describe relies on probabilistic methods
for the recognition of some of the event attributes. As mentioned in Section 2, the CRF learning
model is able to read network packages marked as activity start or end, and to provide an
estimate for the activity label of the corresponding business-level event. Such estimate is in the
form of a discrete probability distribution over an alphabet of labels. It is possible to extrapolate
a single final label from the distribution, such as by following the maximum likelihood principle
and selecting the label with the highest probability. This, however, leads to a loss of information.</p>
      <p>
        An improved approach is the uncertain event log [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ], which contains probabilistic descriptions
of event attributes, and is therefore able to represent attribute values through probability
distributions. Such distributions are contained in the log as meta-attributes; for instance, events
are connected to maps that link every activity label to a probability value. This enables the
application of a family of analysis techniques especially designed for uncertain event logs.
      </p>
      <p>
        Some of the logs we share contain a discrete probability distribution representing activity
labels; according to the taxonomy proposed in [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ], they are []  -type logs. Specific analysis
techniques are available for this class of data, such as recent conformance checking approaches
by Van der Aa et al. [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] and Bogdanov et al. [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ], as well as an XES data standard definition [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ].
XES standard. Table 1 shows the complexity of the data by summarizing some of the features
(traditional and uncertainty-related) of the interleaving event logs. A complete resource’s
schema is specified in
      </p>
      <p>1. An example of uncertain attributes is shown in the following listing:</p>
    </sec>
    <sec id="sec-4">
      <title>4. Conclusion</title>
      <p>In developing beyond its native applications in business and logistics, process analysis expanded
to encompass data paradigms structurally distinct from traditional event logs. Examples are logs
of network trafic, and techniques customized for network trafic data that are able to uncover
novel insights regarding a business process.</p>
      <p>In this paper, we provide insight into our publicly accessible synthetic datasets derived from
the logging of network data in an organization. We described the extraction procedure, the
features of the dataset, and we show the uncertain behavior that appears in the obtained log as
a result of the probabilistic output of the extraction method. We hope that the availability of
these logs will be useful to the BPM community, and will stimulate research within the field of
BPM on network trafic data.</p>
    </sec>
    <sec id="sec-5">
      <title>Acknowledgments</title>
      <p>This work is a collaboration with Accenture Labs, Israel. The authors gratefully acknowledge
the support by the Alexander von Humboldt (AvH) Stiftung.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>M.</given-names>
            <surname>Dumas</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. La</given-names>
            <surname>Rosa</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Mendling</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H. A.</given-names>
            <surname>Reijers</surname>
          </string-name>
          , et al.,
          <source>Fundamentals of business process management</source>
          , Springer,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <surname>W. M. P. van der Aalst</surname>
          </string-name>
          ,
          <article-title>Process mining: data science in action</article-title>
          , Springer,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <surname>W. M. P. van der Aalst</surname>
            , C. Günther,
            <given-names>J.</given-names>
          </string-name>
          <string-name>
            <surname>Bose</surname>
          </string-name>
          , et al.,
          <article-title>IEEE standard for extensible event stream (XES) for achieving interoperability in event logs and event streams</article-title>
          ,
          <source>IEEE Std</source>
          <year>1849</year>
          (
          <year>2016</year>
          )
          <fpage>1</fpage>
          -
          <lpage>50</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>V.</given-names>
            <surname>Huser</surname>
          </string-name>
          ,
          <article-title>Process mining: Discovery, conformance and enhancement of business processes</article-title>
          ,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>E.</given-names>
            <surname>González López de Murillas</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H. A.</given-names>
            <surname>Reijers</surname>
          </string-name>
          ,
          <string-name>
            <surname>W. M. P. van der Aalst</surname>
          </string-name>
          ,
          <article-title>Connecting databases with process mining: a meta model and toolset</article-title>
          ,
          <source>Software &amp; Systems Modeling</source>
          <volume>18</volume>
          (
          <year>2019</year>
          )
          <fpage>1209</fpage>
          -
          <lpage>1247</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <surname>W. M. P. van der Aalst</surname>
          </string-name>
          ,
          <article-title>Extracting event data from databases to unleash process mining, in: BPM-Driving innovation in a digital world</article-title>
          , Springer,
          <year>2015</year>
          , pp.
          <fpage>105</fpage>
          -
          <lpage>128</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>G.</given-names>
            <surname>Engelberg</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Hadad</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Sofer</surname>
          </string-name>
          ,
          <article-title>From network trafic data to business activities: a process mining driven conceptualization</article-title>
          ,
          <source>in: International Conference on Business Process Modeling, Development and Support</source>
          , Springer,
          <year>2021</year>
          , pp.
          <fpage>3</fpage>
          -
          <lpage>18</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>M.</given-names>
            <surname>Hadad</surname>
          </string-name>
          , G. Engelberg,
          <string-name>
            <given-names>P.</given-names>
            <surname>Sofer</surname>
          </string-name>
          ,
          <article-title>From network trafic data to a business-level event log</article-title>
          ,
          <source>in: International Conference on Business Process Modeling, Development and Support</source>
          , Springer,
          <year>2023</year>
          , pp.
          <fpage>60</fpage>
          -
          <lpage>75</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>M.</given-names>
            <surname>Pegoraro</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. S.</given-names>
            <surname>Uysal</surname>
          </string-name>
          ,
          <string-name>
            <surname>W. M. P. van der Aalst</surname>
          </string-name>
          ,
          <article-title>Conformance checking over uncertain event data</article-title>
          ,
          <source>Information Systems</source>
          <volume>102</volume>
          (
          <year>2021</year>
          )
          <fpage>101810</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>A.</given-names>
            <surname>Ganesh</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K. N.</given-names>
            <surname>Shanil</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Sunitha</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. M.</given-names>
            <surname>Midhundas</surname>
          </string-name>
          ,
          <article-title>OpenERP/Odoo-An open source concept to ERP solution</article-title>
          ,
          <source>in: 2016 IEEE 6th International Conference on Advanced Computing (IACC)</source>
          , IEEE,
          <year>2016</year>
          , pp.
          <fpage>112</fpage>
          -
          <lpage>116</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>C.</given-names>
            <surname>Sutton</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>McCallum</surname>
          </string-name>
          , et al.,
          <article-title>An introduction to conditional random fields, Foundations and Trends® in Machine Learning 4 (</article-title>
          <year>2012</year>
          )
          <fpage>267</fpage>
          -
          <lpage>373</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <surname>H. van der Aa</surname>
          </string-name>
          , H. Leopold,
          <string-name>
            <given-names>H. A.</given-names>
            <surname>Reijers</surname>
          </string-name>
          ,
          <article-title>Eficient process conformance checking on the basis of uncertain event-to-activity mappings</article-title>
          ,
          <source>IEEE Transactions on Knowledge and Data Engineering</source>
          <volume>32</volume>
          (
          <year>2019</year>
          )
          <fpage>927</fpage>
          -
          <lpage>940</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>E.</given-names>
            <surname>Bogdanov</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Cohen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Gal</surname>
          </string-name>
          ,
          <article-title>Conformance checking over stochastically known logs</article-title>
          ,
          <source>in: International Conference on Business Process Management</source>
          , Springer,
          <year>2022</year>
          , pp.
          <fpage>105</fpage>
          -
          <lpage>119</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>M.</given-names>
            <surname>Pegoraro</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. S.</given-names>
            <surname>Uysal</surname>
          </string-name>
          ,
          <string-name>
            <surname>W. M. P. van der Aalst</surname>
          </string-name>
          ,
          <article-title>An XES extension for uncertain event data</article-title>
          ,
          <source>in: International Conference on Business Process Management (BPM</source>
          <year>2021</year>
          ), volume
          <volume>2973</volume>
          <source>of CEUR Workshop Proceedings, CEUR-WS.org</source>
          ,
          <year>2021</year>
          , pp.
          <fpage>116</fpage>
          -
          <lpage>120</lpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>