An open API service indexing awesome lists of open source software.

https://github.com/gaisma22/logsense-ai

AI-powered local tool that highlights unusual patterns in system logs.
https://github.com/gaisma22/logsense-ai

anomaly-detection flask isolation-forest log-analysis machine-learning nlp open-source python security-awareness system-logs

Last synced: 3 months ago
JSON representation

AI-powered local tool that highlights unusual patterns in system logs.

Awesome Lists containing this project

README

          

# LogSense AI

Local log analysis and live Android monitoring. No cloud, no API calls, no accounts.

The **AI** in the name refers to rule-based triage and pattern inference, not a language model.

![Results](screenshots/results.png)

![Terminal](screenshots/terminal.png)

![Inspector](screenshots/inspector.png)

## What it does

- Parses `.log`, `.txt`, `.xml`, and `.evtx` files up to 64MB
- Reads Windows `.evtx` binary files directly, maps Security, System, Sysmon, Defender, AppLocker, PowerShell, RDP, and BitLocker events
- Severity classification with pattern matching and confidence scoring
- Adjustable threshold: Strict, Normal, Relaxed
- Live Android logcat monitoring via ADB
- Real-time triage with hover summaries and detail inspector
- Session activity chart in the inspector panel
- Export as TXT, CSV, or JSON
- Dark and light mode, fully offline

## Setup

**Linux and macOS**

```bash
git clone https://github.com/gaisma22/LogSense-AI.git
cd LogSense-AI
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python app.py
```

**Windows** - use Command Prompt, not PowerShell

```
git clone https://github.com/gaisma22/LogSense-AI.git
cd LogSense-AI
python -m venv venv
venv\Scripts\activate
pip install -r requirements.txt
python app.py
```

## Android monitoring

Install ADB:
- Linux: `sudo apt install adb`
- macOS: `brew install android-platform-tools`
- Windows: download Platform Tools from the Android developer site and add to PATH

Enable USB debugging, connect via USB, tap Allow when prompted, then click Check Device on the home page.

## License

MIT