Skip to content

Pranil199/Real_time-server-log-analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“ก Real-Time Server Log Analyzer & Anomaly Detector

A comprehensive Python-based analytics pipeline designed to parse, process, and analyze web server logs in real time. This tool bridges the gap between backend system monitoring and data analytics, computing critical operational metrics like 95th percentile (p95) latency, error rates, and traffic patterns, while automatically flagging system anomalies.

[Image of log analytics pipeline architecture]

โœจ Core Capabilities

  • Intelligent Regex Parsing: Extracts structured data (Timestamps, IP addresses, HTTP Methods, Endpoints, Status Codes, and Latency) from raw, unstructured server logs.
  • Time-Series Analytics: Leverages pandas to group and resample traffic patterns on a per-hour basis.
  • Advanced Metric Computation: Calculates both average and p95 latency, providing a true representation of the "long tail" user experience.
  • Automated Alerting Engine: Triggers warnings and critical alerts based on predefined thresholds for error rates (>10%) and anomalous request bottlenecks (>1000ms).
  • Synthetic Data Generation: Includes a built-in mock log generator to simulate realistic server traffic, error spikes, and latency anomalies for safe testing.

๐Ÿ› ๏ธ Tech Stack & Skills Demonstrated

  • Language: Python 3.x
  • Core Libraries: pandas (Time-series manipulation, DataFrames), re (Regular Expressions), datetime.
  • Engineering Concepts: Log parsing, system monitoring, anomaly detection, percentile mathematics.

๐Ÿš€ Getting Started

Prerequisites

Ensure Python is installed along with the pandas library:

pip install pandas

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors