Defining Parsing Rules Order
When there are multiple parsing rules defined for a single data model, you can set the rule order.
All columns are extracted as per the first rule definition that matches the event. For example, if Rule1 matches some of your data then it is used to extract column values. If Rule1 fails to match with your data, then only Rule2 is applied, and so on.
Procedure
- 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 order. The Parsing Rules panel is updated immediately.
- Click to refresh the Parser preview panel to view all extracted columns and their data types that are matched by the corresponding parsing rule. Each event that matches with the corresponding rule is identified in the same color for easy readability.
- Click Save to save the model.
Copyright © Cloud Software Group, Inc. All rights reserved.