Upgrade Kibana from 7 to 8 on RedHat
Upgrade the kibana.repo file to reflect the new version:
nano /etc/yum.repos.d/kibana.repo
[kibana-8.x] name=Kibana repository for 8.x packages baseurl=https://artifacts.elastic.co/packages/8.x/yum gpgcheck=1 gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch enabled=1 autorefresh=1 type=rpm-md
Now, upgrade kibana
yum install --enablerepo=kibana kibana
Finally, you need to start the service and check the functionality:
systemctl start kibana