There are no reviews yet. Be the first to send feedback to the community and the maintainers!
Repository Details
Developed a Shell Script which collects all logs based on user Input Parameters. Logs can be collected in two Modes: TimeStamp or No. of Lines. In TimeStamp all logs will be collected which are touched in‘t’ minute duration. In No. of Lines, ‘n’ number of logs from end will be collected. Input path can be given in two ways: by passing argument or by passing address in properties file. User input is being validated and for incorrect user input, User is shown list of Parameters. Properties file gets created automatically if do not exist, and shows help menu whenever shell script is executed with ‘–help command’ and then user can pass address of multiple log files. Also it Analyses log files with some Pattern and highlights area of log file where pattern is found and a specific operation can be performed for each Pattern like installing a service or moving some file from one directory into another directory.