Skip to main content

Log StreamLog Stream Guide

Reorder Mapped JSON Fields

After you have used the methods above for mapping JSON fields, consider the order of rows in the JSON Path Expressions table in the UI. A parser evaluates its JSON path expressions against a log consecutively from top to bottom. Ensure that the expressions in the table at the top of the screen are in an order that correctly parses your logs.

You can edit the rows of JSON path expressions in the following ways:

  • icon-move.png – To change the order of the rows in the table, click the move icon on the left of a row and drag it to another location in the table.

  • icon-edit.png – To edit a saved row, click the edit icon and make modifications to the field mapping.

  • icon-delete.png – To remove a row, click the delete icon to remove the mapped field.

When you are satisfied with the order of the rows in the JSON Path Expressions table, review the matched fields and values as they are represented in the sample log line in the UI.