Skip to content

Small Python project simulating log analysis workflows and presenting insights with an interactive dashboard.

License

Notifications You must be signed in to change notification settings

Chloecxy/log-analysis-simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SSH Log Threat Detection Tool (Python + Streamlit)

A Python + Streamlit dashboard that simulates SSH log analysis, detects suspicious login activity, and visualizes attack patterns with interactive charts. It simulates and processes SSH log data, flags potentially malicious IPs using behavior thresholds, enriches intelligence with IPInfo and AbuseIPDB APIs, and visualizes attack patterns with interactive charts.

Built with Python, Streamlit, pandas, and Nivo charts, designed to be modular and extensible for further threat detection use cases.

Features

  • Detect brute-force login attempts
  • Enrich IP data with IPInfo & AbuseIPDB
  • Explore results via an interactive Streamlit dashboard
  • Export filtered logs to CSV for further analysis

Installation

git clone https://github.com/your-username/ssh-log-threat-detection.git
cd ssh-log-threat-detection
pip install -r requirements.txt

Usage

streamlit run app.py

Quick Start

Use the following default login credentials:

  • Username: admin
  • Password: admin

Example Dashboard

Here's a preview of the dashboard: Dashboard Preview

Link to live demo: https://log-analysis-simulator-qrrsnjdsgw.streamlit.app/

Tech Stack

  • Python 3.9+
  • Streamlit (UI & interactive dashboard)
  • pandas (log parsing & analysis)
  • AgGrid (interactive tables)
  • Nivo (via streamlit-elements) (charts & graphs)
  • IPInfo / AbuseIPDB APIs (threat intelligence enrichment)

License

This project is licensed under the MIT License.

About

Small Python project simulating log analysis workflows and presenting insights with an interactive dashboard.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages