Xshell Highlight Sets [work]

: Indicates healthy states, successful deployments, and completed jobs ( SUCCESS , OK , ONLINE ).

tail -f /var/log/syslog # or python -c "print('ERROR: Disk full')"

Configuring highlight sets in XShell is straightforward and can be done globally or assigned to specific sessions. Step 1: Navigating to the Highlight Sets Manager Open XShell. Go to the top menu and select > Highlight Sets .

Highlight any IP address on your screen to track network traffic origins. \b(?:[0-9]1,3\.)3[0-9]1,3\b Use code with caution. xshell highlight sets

Before we dive into the "how," let's look at the "why." Xshell's highlight feature allows you to change the foreground (text) color and background color of specific text strings or patterns.

Matches "CPU usage: 95%" or "CPU usage: 100%".

Warnings, deprecation notices, and high disk/CPU usage alerts. Go to the top menu and select > Highlight Sets

Click the Add button on the right side of the dialog box. Name your new set (e.g., Server Logs Production ).

A highlight set only becomes active when assigned to a session: Open the dialog again via [Tools].

Once you perfect your highlight set, export it ( Tools > Export ). This allows you to share your setup with your team or sync it across multiple workstations. Before we dive into the "how," let's look at the "why

This approach is particularly efficient when you have many keyword rules to configure—rather than adding them one by one through the GUI, you can batch-import an entire set by copying a single file.

: Users can designate frequently used strings—such as "error," "failed," "warning," or specific IP addresses—to be instantly highlighted.

Xshell’s highlight system uses pattern matching to identify specific strings or patterns in terminal output. When a match is found, Xshell applies your chosen visual formatting to that text. The system is flexible and supports two matching modes:

Scroll to top