arXiv:2610.36946cs.CROct 2026

Manuscript Offprint

arXiv:2610.36946

Too many clients spoil the logs: distributed parsing, aggregation techniques and metrics

André García Gómez, Viktor Beck, Max Landauer, Markus Wurzenberger, Florian Skopik, Andreas Rauber, Edgar Weipp

ABSTRACT

Log messages are employed to identify anomalies in IoT systems and have been widely used across many applications. To enable collaboration among infrastructures belonging to different organizations, federated log anomaly detection has been thoroughly investigated for this purpose, often assuming the availability of ground truth log templates. However, this is typically not the case, as it is still necessary to depend on log parsers to extract log templates at inference time, while the design and deployment of such parsers in distributed environments remains largely an open problem. To this end, we report on an empirical investigation of distributed parsing and its key challenges, providing insights and lessons learned towards closing the gap between research and application. To further refine and contextualize the resulting benchmarks, we examine and introduce new metrics that provide a more comprehensive view for evaluating distributed parsers and how they behave in distributed environments. We propose a set of lessons learned and recommendations to support the design, deployment, and evaluation of distributed parsers. In particular, we evaluate the performance of five distinct parsing algorithms in combination with aggregation techniques that allow a unified agreement of event-template mappings across all participating clients, a prerequisite for federated log anomaly detection. In total, 6,720 distinct distributed configurations were tested for this purpose.

1. Introduction

The earliest uses of logs date back to the introduction of syslog in Unix with 4.2BSD in 1983 (Stevens and Rago, 2013). Nearly half a century later, logging has become a fundamental component of system administration, as logs capture the different operational states of a system. In the current era, characterized by the extensive use of cloud computing and the Internet of Things (IoT), log processing has grown substantially more challenging due to the requirement to monitor logs produced concurrently by numerous machines participating in multiple services simultaneously (Raptis and Passarella, 2023).

Although logs can serve many purposes, one of their most common uses is log anomaly detection. Because these techniques are used to pinpoint system failures and abnormal behaviors related to security breaches, they have emerged as a key research topic (Guo et al., 2021; Du et al., 2017). A common requirement across most of these studies is the use of log parsing methods to transform raw logs into structured representations that are easier to analyze. With the growing number of IoT deployments in heterogeneous environments, several works have addressed the development of log anomaly detection solutions for distributed systems (García Gómez et al., 2025); however, comparatively little focus has been placed on designing and assessing distributed log parsing algorithms themselves, as most existing studies assume that logs have already been parsed before they are distributed across nodes. We refer to parser algorithms as the techniques that derive the templates used to handle the various logs. This paper investigates distributed parsing and examines its main challenges, including how parsing data is shared and managed across multiple clients (i.e., system nodes). We structure the paper around three central research questions (RQ).

RQ1 How do the number of clients and the volume of log data influence the effectiveness of different parser algorithms? We evaluate several parsing algorithms across diverse data distributions, datasets, and client counts. To further refine and contextualize the resulting benchmarks, we will additionally examine and discuss the metrics currently used in the literature and introduce new metrics that provide a more comprehensive view of the different parsers and how they behave in distributed environments. We define effectiveness as the extent to which the parser can generate templates that are equivalent to the ground-truth templates.

RQ2 To what extent can different aggregation techniques improve the performance of local parsers in a distributed environment? We define aggregation as the set of techniques used to transfer the knowledge required for parsing operations among the different local parsers. We evaluated a range of aggregation methods over several benchmarks to study the performance gains they can provide. To the best of our knowledge, no federated parsing

andre.garcia-gomez@ait.ac.at (A.G. Gómez);

viktor.beck@ait.ac.at (V. Beck); max.landauer@ait.ac.at (M. Landauer);

markus.wurzenberger@ait.ac.at (M. Wurzenberger);

florian.skopik@ait.ac.at (F. Skopik); rauber@ifs.tuwien.ac.at (A. Rauber); edgar.weippl@univie.ac.at (E. Weippl)

ORCID(s): 0000-0003-3102-6986 (A.G. Gómez); 0009-0003-0784-5479 (V. Beck); 0000-0003-3813-3151 (M. Landauer); 0000-0003-3259-6972 (M. Wurzenberger); 0000-0002-1922-7892 (F. Skopik); 0000-0002-9272-6225 (A. Rauber); 0000-0003-0665-6126 (E. Weippl)

García Gómez, Beck et al.: Preprint submitted to Elsevier

Page 1 of 17 strategy has been introduced in the existing literature. FedAvg (McMahan et al., 2017), the most widely used aggregation method in deep learning, simply averages the model weights. Although this approach is not directly applicable to parsing, we adopt a similar philosophy by examining straightforward techniques such as set concatenation and merging strategies that have been proposed in prior work.

RQ3 What are the main considerations when deploying parsers in distributed environments? Based on the previous results, we will examine the key characteristics identified and propose a set of takeaways and recommendations to support the design and deployment of parsers in distributed environments.

The main contributions of this paper are summarized below:

  • A thorough examination of the various metrics found in the literature, along with the introduction of a taxonomy that categorizes these metrics and explains their relevance and application in distributed parser deployments.

  • A comprehensive benchmarking study of multiple parsers operating in distributed environments, both with and without the use of different federated techniques.

  • A set of lessons learned and recommendations regarding the deployment and use of parsers in federated environments.

We organize this paper into the following sections. Section 2 provides a brief overview of the different parsers and aggregation techniques. In Section 3, we analyze related work found in the literature. Section 4 explains how parsers are deployed in distributed environments, outlines the techniques applied in this study, and presents an extensive analysis of the various metrics. Section 5 describes the empirical experiments. Section 6 presents the results of the empirical benchmarks. Section 7 examines these results and derives recommendations for the development and deployment of distributed log parsers. In Section 8, we discuss threats to validity. Finally, Section 9 summarizes our conclusions and outlines the directions for future work.

References (47)