mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-14 17:05:36 +00:00
This was noticed for a pipeline that was defining hundreds of grok patterns inline with a single grok processor. The recursive call used to translate a Grok pattern to a regular expression can overflow the stack. This commit converts that method to an iterative method. Co-authored-by: Przemko Robakowski <probakowski@users.noreply.github.com>