Use this command to match a string or a list of strings, and highlight the entire row in the Log UI.


highlightrows <keyword_expression> [,<keyword_expression>]*

Parameters and Variables

The following table lists the parameters and variables used in this query, along with their descriptions.

Parameter / Variable Description
<keyword_expression> Use this variable to specify the string or the list of strings to be matched by running this query. Permitted values must be in the formal <string>, <string>, or <string>.

The following query highlights rows containing the keyword ERROR.

highlightrows ERROR

The following query returns all fatal logs, and highlights those rows containing the phrase database connection.

severity='fatal' | highlightrows 'database connection'