Spaces:
Sleeping
Sleeping
A newer version of the Streamlit SDK is available:
1.49.1
metadata
title: WatchTowerAI - Log Analyzer
emoji: 🛰️
colorFrom: purple
colorTo: pink
sdk: streamlit
sdk_version: 1.32.0
app_file: streamlit_app.py
pinned: false
WatchTowerAI – Log Classification & Automated Runbook Generator
A production-grade AI tool to analyze logs in real-time, classify them using a fine-tuned Flan-T5 model, generate markdown runbooks, and automatically alert your team via Slack — all deployed on Hugging Face Spaces.
Features
- LLM-powered log classification (INFO, WARNING, ERROR, CRITICAL, SECURITY)
- Runbook generation using Flan-T5
- Upload runbooks to AWS S3
- Send real-time Slack alerts
- Hybrid fallback using rule-based logic if model is uncertain
- Streamlit Web UI +
.log
file upload support
Tech Stack
- LLM: Fine-tuned Flan-T5
- Frontend: Streamlit
- Cloud: AWS S3
- Alerts: Slack Webhook
- Deployment: Hugging Face Spaces
Screenshot
How to Use
- Paste or upload a
.log
file - Click “Classify + Generate Runbook”
- Download the markdown or view it in S3
- Slack alerts will be sent automatically
Directory
streamlit_app.py
– UI + logicupload_to_s3.py
– S3 upload functionnotify_slack.py
– Slack integrationrunbooks/
– Markdown output foldercodementor-flan/
– Your fine-tuned model folder
AI Model
Fine-tuned on domain-specific QA + system logs using Flan-T5 for robust multi-class log categorization and response generation.
Made by Chetan