Skip to main content

Log StreamLog Stream Guide

Extract Fields Using Regular Expressions

For each field you want to extract, enter a regular expression. To help validate the expression, you can also enter a key.

You can enter a regular expression using either JRegex or Perl Compatible Regular Expressions (PCRE) syntax. Keep in mind that both LIME and the Data Lake Parsing Engine only work with parser and event builder files that use JRegex syntax. If you enter a regular expression using PCRE syntax, Auto Parser Generator automatically converts it into JRegex syntax in the background so the parser and event builder file created at the end of this process uses JRegex syntax.

There are three ways to enter a regular expression for a field:

After you have mapped all of the necessary fields for extraction, ensure the fields are in the correct order, review the matching event type fields and log values, then continue building your custom parser by configuring event builders.