Lost in Translation? Converting RegExes for Log Parsing into Dynatrace Pattern Language
Not on the map. Why?
Abstract (arXiv)
Log files provide valuable information for detecting and diagnosing problems in enterprise software applications and data centers. Several log analytics tools and platforms were developed to help filter and extract information from logs, typically using regular expressions (RegExes). Recent commercial log analytics platforms provide domain-specific languages specifically designed for log parsing, such as Grok or the Dynatrace Pattern Language (DPL). However, users who want to migrate to these platforms must manually convert their RegExes into the new pattern language, which is costly and error-prone. In this work, we present Reptile, which combines a rule-based approach for converting RegExes into DPL patterns with a best-effort approach for cases where a full conversion is impossible. Furthermore, it integrates GPT-4 to optimize the obtained DPL patterns. The evaluation with 946 RegExes collected from a large company shows that Reptile safely converted 73.7% of them. The evaluation of Reptile's pattern optimization with 23 real-world RegExes showed an F1-score and MCC above 0.91. These results are promising and have ample practical implications for companies that migrate to a modern log analytics platform, such as Dynatrace.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 13 of its 70 references that are in the map. First posted on arXiv 24 Jun 2025.
Builds on
13 of 70 references.
References · 13
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2023GPT-4 Technical Reportcited by 18,396
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2020Loghub: A Large Collection of System Log Datasets for AI-driven Log Analyticscited by 70
- 2023Log Parsing with Prompt-based Few-shot Learningcited by 29
- 2019Sketch-Driven Regular Expression Generation from Natural Language and Examplescited by 10
- 2022System Log Parsing: A Surveycited by 10
- 2023Data Extraction via Semantic Regular Expression Synthesiscited by 8
- 2023InfeRE: Step-by-Step Regex Generation via Chain of Inferencecited by 5
- 2021Why Aren't Regular Expressions a Lingua Franca? An Empirical Study on the Re-use and Portability of Regular Expressionscited by 4
- 2023Regexes are Hard: Decision-making, Difficulties, and Risks in Programming Regular Expressionscited by 4
- 2024Efficient Matching with Memoization for Regexes with Look-around and Atomic Grouping (Extended Version)cited by 2
Built on by
Not cited yet.