Lune

SIGMOD2026Top-tier venue

Regular Expression Indexing for Log Analysis

Ling Zhang, Shaleen Deep, Jignesh M. Patel, Karthikeyan Sankaralingam

2026Year

Abstract

In this paper, we present the design and architecture of REI, a novel system for indexing log data for regular expression queries. Our main contribution is an 𝑛-gram-based indexing strategy and an efficient storage mechanism that results in a speedup of up to 14× compared to state-of-the-art regex processing engines that do not use indexing, using only 2.1% of extra space. We perform a detailed study that analyzes the space usage of the index and the improvement in workload execution time, uncovering interesting insights. Specifically, we show that even an optimized implementation of strategies such as inverted indexing, which are widely used in text processing libraries, may lead to suboptimal performance for regex indexing on log analysis tasks. Overall, the REI approach presented in this paper provides a significant boost when evaluating regular expression queries on log data. REI is also modular and can work with existing regular expression packages, making it easy to deploy in a variety of settings. The code of REI is available at https: //github.com/mush-zhang/REI-Regular-Expression-Indexing.

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext 92fbd11d-664c-43b6-be3f-cebcb91da284

Builds on3

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines