{"id":15063912,"url":"https://github.com/rayyan9477/anomaly-detection-in-cloudwatch-traffic-data","last_synced_at":"2026-02-13T20:03:27.414Z","repository":{"id":255550174,"uuid":"851693636","full_name":"Rayyan9477/Anomaly-Detection-in-CloudWatch-Traffic-Data","owner":"Rayyan9477","description":"This project focuses on detecting anomalies in CloudWatch traffic data using machine learning techniques. The primary goal is to identify potential web attacks by analyzing traffic patterns. The project leverages the Isolation Forest algorithm for anomaly detection and includes comprehensive data preprocessing steps.","archived":false,"fork":false,"pushed_at":"2024-09-04T18:12:15.000Z","size":4124,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-16T07:23:07.092Z","etag":null,"topics":["anomaly-detection","data-science","machine-learning","sklearn"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Rayyan9477.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-03T14:55:18.000Z","updated_at":"2024-12-21T07:45:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"85c26c95-3699-4e07-ac8f-8e44282fe6a7","html_url":"https://github.com/Rayyan9477/Anomaly-Detection-in-CloudWatch-Traffic-Data","commit_stats":null,"previous_names":["rayyan9477/anomaly-detection-in-cloudwatch-traffic-data"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Rayyan9477/Anomaly-Detection-in-CloudWatch-Traffic-Data","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rayyan9477%2FAnomaly-Detection-in-CloudWatch-Traffic-Data","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rayyan9477%2FAnomaly-Detection-in-CloudWatch-Traffic-Data/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rayyan9477%2FAnomaly-Detection-in-CloudWatch-Traffic-Data/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rayyan9477%2FAnomaly-Detection-in-CloudWatch-Traffic-Data/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rayyan9477","download_url":"https://codeload.github.com/Rayyan9477/Anomaly-Detection-in-CloudWatch-Traffic-Data/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rayyan9477%2FAnomaly-Detection-in-CloudWatch-Traffic-Data/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275780345,"owners_count":25527345,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-18T02:00:09.552Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["anomaly-detection","data-science","machine-learning","sklearn"],"created_at":"2024-09-25T00:08:40.624Z","updated_at":"2025-09-18T13:58:52.555Z","avatar_url":"https://github.com/Rayyan9477.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Anomaly Detection in CloudWatch Traffic Data\r\n\r\n## Summary\r\nThis project focuses on detecting anomalies in CloudWatch traffic data using machine learning techniques. The primary goal is to identify potential web attacks by analyzing traffic patterns. The project leverages the Isolation Forest algorithm for anomaly detection and includes comprehensive data preprocessing steps. Visualization tools such as Matplotlib, Seaborn, and Plotly are used to present the results effectively.\r\n\r\n### Techniques Used:\r\n- **Data Preprocessing**: Handling datetime features and calculating duration.\r\n- **Anomaly Detection**: Using Isolation Forest from scikit-learn.\r\n- **Data Visualization**: Matplotlib, Seaborn, and Plotly for plotting results.\r\n- **Evaluation**: Confusion matrix for performance evaluation.\r\n\r\n## How to Run\r\n1. **Clone the repository**:\r\n    ```sh\r\n    git clone https://github.com/Rayyan9477/Anomaly-Detection-in-CloudWatch-Traffic-Data\r\n    cd Anomaly-Detection-in-CloudWatch-Traffic-Data\r\n    ```\r\n\r\n2. **Install the required packages**:\r\n    ```sh\r\n    pip install -r requirements.txt\r\n    ```\r\n\r\n3. **Run the application**:\r\n    ```sh\r\n    python app.py\r\n    ```\r\n\r\n## Significance and Use Case\r\nThis project is significant for cybersecurity applications, particularly in monitoring and securing web traffic. By identifying anomalies, it helps in early detection of potential web attacks, thereby enhancing the security posture of web applications. The techniques used can be applied to various domains requiring anomaly detection in time-series data.\r\n\r\n## Video Demostration\r\n[Video Demonstration](https://github.com/Rayyan9477/Anomaly-Detection-in-CloudWatch-Traffic-Data/blob/main/video.mp4)\r\n\r\n## Technologies Used\r\n- **Programming Language**: Python\r\n- **Libraries**: pandas, scikit-learn, matplotlib, seaborn, plotly\r\n\r\n## Contact\r\n- **Email**: rayyanahmed265@yahoo.com\r\n- **LinkedIn**: [Rayyan Ahmed](https://www.linkedin.com/in/rayyan-ahmed9477/)\r\n- **More Work**: [Rayyan9477](https://github.com/Rayyan9477)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frayyan9477%2Fanomaly-detection-in-cloudwatch-traffic-data","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frayyan9477%2Fanomaly-detection-in-cloudwatch-traffic-data","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frayyan9477%2Fanomaly-detection-in-cloudwatch-traffic-data/lists"}