I am new to Shell scripting and below is my requirement.
I need to search some specific word e.g. "exception" or "transaction" from log file.
We have multiple env e.g. Level1 , Level2 etc and each env have Multiple boxes e.g. For Level 1 env we have "test11.test.com" , "test12.test.com".
Each box has multiple logs with box specific name e.g "stdout_test11.log" , "transaction_test11.log".
We need to SSH to each box.
So what is the best way and can we configure the things like Level , Box , Log name ?