- Install scripts
- Connection methods, how to use the app
- Introduction
- Features
- Screenshots
- Installation
For windows users:
-
Download and install Python 3.11, either from Windows store, or from website
Windows store version
Official website -
Run the following
.\install.ps1 -install
Usage: .\install.ps1 -install Install the dependencies from requirements.txt .\install.ps1 -run Run the application .\install.ps1 -clean Clean the virtual environment and cache files .\install.ps1 -help Display this help message
-
To run the Applicaiton
.\install.ps1 -run
For Linux/MacOs:
-
Run the following
make install
"Usage:" " make - Default target, install dependencies and run the app" " make install - Install the dependencies from requirements.txt" " make run - Run the application" " make clean - Clean the virtual environment and cache files" " make help - Display this help message"
-
To run the application
make run
To connect to any stages, there are two methods:
a. For stages that use a bastion host (jumphost), you need to tunnel and open port 22.
b. For stages that do not have a jumphost or bastion host, you can connect directly.
The Real-time log retrieval tool is created to
-
Retrieve and filter logs from remote servers via SSH connections in real-time.
-
This tool connects to one or more remote servers, executes custom commands, and continuously saves the logs to your local machine. It's ideal for monitoring and analyzing logs without the hassle of manual downloads, or using Putty/Terminals.
- Real-time log retrieval/saving from remote servers.
- Customizable SSH connection parameters and remote commands.
- Concurrent SSH connections using threads for efficiency.
- Log filtering options for specific events or patterns, using greps.
- Download catalina.out from the server
- Backup MySQL Database
- Restart Tomcat
- Fetch / Deployer / Tomcat version
- View configuration properties
- Email sending possibility, scheduler (beta)
Before using the Real-Time SSH Event Fetcher, ensure you have the following installed:
- Python 3.x
- Paramiko library (for SSH connections)
- getch library (for keyboard input)
- python-decouple library (for configuration management)
You can install these libraries by creating separate env
-
Clone or download this repository to your local machine.
-
Create env
python -m venv pythonenv
-
Install third-party libraries
pip install -r requirements.txt
-
Run the Application
python3 app.py