I usually would place this file in my home directory and name it 'find_issues.sh'
cd ~
nano find_issues.sh
chmod +x find_issues.sh
content of find_issues.sh:
#!/bin/bash
read -sn 1 -p "Press any key to check keyword 'error'";echo
tail -n 1000 /var/log/messages | grep error
read -sn 1 -p "Press any key to check keyword 'fail'";echo
tail -n 1000 /var/log/messages | grep fail
read -sn 1 -p "Press any key to check keyword 'panic'";echo
tail -n 1000 /var/log/messages | grep panic
read -sn 1 -p "Press any key to check keyword 'fault'";echo
tail -n 1000 /var/log/messages | grep fault
read -sn 1 -p "Press any key to check keyword 'timeout'";echo
tail -n 1000 /var/log/messages | grep timeout