searching logs for failures using grep?

Is there any wordlist which will contain words like error,fail,kill,warn,out of,over,too much…..etc.
so that I can filter tons of logs for issues within seconds.
like this

greperror() {
    grep -i 'error|kill|fail|warn' $*
}

Especially, I need it for linux logs digging.

Go to Source
Author: Akhil Jalagam