This is the generic example how to process logs in comfortable and fun ways.
Run docker-compose project. It includes ClickHouse and Grafana. ClickHouse would be accessable by http://localhost:8123 and http://localhost:9000, Grafana would be accessable at http://localhost:3000
docker-compose up -dSetup the virtual env
python3 -m virtualenv .venv
source .venv/bin/activate
python3 -m pip install -r requiremnet.txtChange config.py by adding source of logs to the HOSTS var
HOSTS = (
('example.com', 22, 'user', '<password>'),
)Process logs
python3 main.py