Highlighting lines

Highlight rules are used to apply foreground text and background colors to lines that contain specific text.

 

The word occurrences in the line can be optionally set to be Bold text, Italic text and/or Underlined text.

 

By default, the line background color is white and foreground color is black and no Bold/Italic/Underline attribute is

applied to matching words in the line. You can optionally use the ‘Use view background’ option to use the same background color as the main log view. This is helpful when you don’t want to explicitly set the background and just want to use the same background as the main view.

Order of Highlight Rules

When a new Highlight or Filter rule is added, it is appended to end of the list of existing rules in the table.

If two or more rules are selected, the order of the rules dictates the precedence when highlighting the matching lines.

 

For e.g. assume there is rule that matches lines with ‘cat’ and another one that matches lines with ‘dog’. If a line contains both ‘cat’ and ‘dog’, then the ‘cat’ rule being ahead will match first and the highlighting options corresponding to that will take effect.

 

To change the order of the rules, you can Drag-and-Drop the rules within the table to define their precedence.

(Screenshot of ‘INFO’ rule being moved before the ‘WARN’ rule)

Quick Highlighting >