logs are stored onto server as .log or .gz
Go to the folder of the device that you want to check:
For .log files, do 'grep -r "keywords that you are interested" *.log' or
'grep -r -v "keywords that you are NOT interested" *.log';
For .gz files, do 'zgrep -E "keywords that you are interested" *.gz' or
'zgrep -E -v "keywords that you are NOT interested" *.gz'
No comments:
Post a Comment