Skip to content

feat: add real-time log streaming with anomaly highlighting and smart…#155

Open
Saranyadharani wants to merge 2 commits into
sutanjoyb:masterfrom
Saranyadharani:feature/realtime-streaming-anomaly
Open

feat: add real-time log streaming with anomaly highlighting and smart…#155
Saranyadharani wants to merge 2 commits into
sutanjoyb:masterfrom
Saranyadharani:feature/realtime-streaming-anomaly

Conversation

@Saranyadharani

@Saranyadharani Saranyadharani commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Changes Made

Backend

  • Added /stream-analyze SSE endpoint for real-time log streaming
  • Integrated anomaly detection with color-coded types (critical, time voids, log shaving)
  • Progress tracking with line-by-line processing

Frontend

  • Created streaming.js - SSE client with pause/resume/stop/clear controls
  • Created anomalyFilters.js - Dynamic filter chips for anomaly types
  • Created streaming.css - Responsive compact design matching forensic theme
  • Updated dashboard.html - Integrated streaming section with 6:6 grid layout

Features

  • Real-time log streaming with progress updates
  • Color-coded anomalies (🔴 Critical, 🟡 Time Voids, 🔶 Log Shaving)
  • Smart filter chips to show/hide anomaly types
  • Pause/Resume streaming for detailed inspection
  • Stop/Clear controls
  • Statistics cards with anomaly counts
  • Export to PDF functionality
  • Responsive design (mobile/tablet/desktop)
Screenshot 2026-06-01 195634 Screenshot 2026-06-01 195721

Testing

  • Upload any .log or .txt file
  • Click "START" to begin streaming
  • Watch anomalies appear with color-coded borders
  • Use filters to focus on specific anomaly types
  • Export results to PDF

Closes #150

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Real-time Log Streaming with Anomaly Highlighting & Smart Filters

2 participants