Install two rpm packages, cockpit-session-recording and tlog.
yum -y install cockpit-session-recording tlog
<< OUTPUT ABRIDGED >> Installed: cockpit-session-recording-1-29.el8.noarch tlog-5-1.el8.x86_64 Complete!
The first package, cockpit-session-recording will add an additional feature Web Console which you will be using to enable and configure session recording. The tlog package will provide the tools which will be used to both record and view the recorded terminal sessions.