Log Roller - useful for pulling logs from remote hosts and organizing them in folders.
lr is currently used in a helpdesk environment for pulling logs from remote servers and
organizing them based on the tickets they relate to. lr makes it simple to pull down logs
and avoid having to remember the SCP/RSYNC command format.
(Currently working on this as PIP will not install PySFTP)
NOTE: sudo is required as it installs the script in the /bin folder
git clone https://github.com/cmtzco/lr
sudo python lr/install.py
Follow the installation questions and Voila! its installed
git clone https://github.com/cmtzco/lr
python lr/install.py
Follow the installation questions and Voila! its installed
lr [OPTIONS] user host foldername
-Pull down all files with a .log extension in a common directory
-Compress them for quick downloading
-Archive
-Specify directories to search/use when running the installer