Sign inSign up

noopur17/log-analyzer

By noopur17

β€’Updated 5 months ago

Log analyzer

Image
Machine learning & AI
Developer tools
Monitoring & observability
0

2.0K

noopur17/log-analyzer repository overview

β πŸš€ AI Log Analyzer

Docker FastAPI Python AWS License


⁠🧠 Overview

AI Log Analyzer is a lightweight, containerized API that helps developers and DevOps engineers analyze application logs in real-time.

It automatically detects errors, warnings, and patterns in logs, enabling faster debugging, better monitoring, and improved system reliability.


⁠✨ Key Features

  • πŸ” Intelligent log parsing and classification
  • ❗ Automatic detection of ERROR, WARNING, and INFO logs
  • πŸ“Š Summary statistics and structured insights
  • ⚑ High-performance API using FastAPI
  • 🐳 Fully Dockerized for easy deployment
  • ☁️ Cloud-ready (AWS EC2 Free Tier compatible)
  • πŸ”„ Supports continuous deployment workflows

β πŸ—οΈ Tech Stack

  • βš™οΈ Backend: FastAPI
  • 🐍 Language: Python 3.11
  • 🐳 Containerization: Docker
  • ☁️ Deployment: AWS EC2
  • πŸ“‘ API Docs: Swagger UI

β πŸ“¦ Pull the Image

docker pull <your-docker-username>/ai-log-analyzer:latest

⁠▢️ Run the Container

docker run -d -p 8000:8000 --name log-analyzer <your-docker-username>/ai-log-analyzer

⁠🌐 Access the API

Local:

http://localhost:8000/docs

AWS EC2:

http://<EC2-PUBLIC-IP>:8000/docs

πŸ‘‰ Interactive Swagger UI will open


⁠πŸ§ͺ API Example

⁠Endpoint

POST /analyze

⁠Request
{
  "logs": "[INFO] Service started\n[ERROR] Database failed\n[WARNING] Retry attempt"
}

⁠Response
{
  "summary": {
    "INFO": 1,
    "ERROR": 1,
    "WARNING": 1
  },
  "error_count": 1
}

β πŸ› οΈ Use Cases

  • 🚨 Application debugging
  • πŸ“Š DevOps monitoring
  • πŸ” CI/CD log analysis
  • 🧩 Incident investigation
  • πŸ“‘ System observability

⁠🧩 Architecture

User β†’ FastAPI β†’ Log Analyzer Engine β†’ Response (JSON)
           ↓
        Docker Container
           ↓
        AWS EC2

⁠🚧 Future Enhancements

  • πŸ€– AI-based anomaly detection
  • πŸ“‚ Log file upload support
  • πŸ“Š Visualization dashboard
  • πŸ”” Alerting & monitoring integration
  • πŸ“ˆ Real-time log streaming

Here’s your updated Author section β€” ready to copy-paste:


β πŸ‘©β€πŸ’» Author

Noopur Bhatt
Building Intelligent Systems πŸ’‘| Open Source Contributor 🌐| Trouble Maker Engineer πŸš€


β πŸ“„ License

MIT License

Tag summary

Content type

Image

Digest

sha256:64a971fa9…

Size

48.5 MB

Last updated

5 months ago

docker pull noopur17/log-analyzer