Defining the Sequence of Parsing Rules

When multiple parsing rules are defined for a single data model, you can set the rule sequence.

Columns are extracted per the first rule definition that matches the event and subsequent rules are not applied. For example, if Rule1 matches some of the data, it is used to extract column values. If Rule1 fails to match with your data, Rule2 is applied, and so on. Therefore, sometimes you might want to change the sequence of the parsing rules for the data model.

Procedure

  1. In the Parsing rules panel, hover over the rule row near the drag icon and the cursor turns into a hand, which you can use to drag the row up or down to change the sequence. Alternatively, to move the rule one row at a time, hover over the rule and click the Move Up or Move Down icons .
  2. To refresh the Parser preview panel to view all extracted columns and their data types that are matched by the corresponding parsing rule, click . Each event that matches with the corresponding rule is identified in the same color for easy readability.
  3. To save the data model, click Save.