DEV Community

shauryamalhotra957-wq
shauryamalhotra957-wq

Posted on

LogSloth: A Local-First AI Log Analysis Tool Built for Hacktoberfest

Hacktoberfest Open-Source AI Challenge Week 3: Slow and Steady Submission 🦥

Building LogSloth was my Week 3 Hacktoberfest challenge: a lightweight, local-first tool that turns messy application logs into a concise security-focused briefing.

Instead of manually digging through hundreds of log lines, LogSloth parses the input, identifies recognizable events, highlights suspicious activity, and presents the results in a simple Streamlit interface.

🦥 What is LogSloth?

LogSloth is a local log-analysis and security briefing application designed to make raw authentication/application logs easier to understand.

The application currently provides:

  • Log parsing from raw log files
  • Event classification
  • Detection of recognizable security-related events
  • Identification of unrecognized log lines
  • A summarized security briefing
  • A simple Streamlit UI
  • Local processing without requiring users to upload their logs to a third-party service

During testing, LogSloth successfully processed a sample log containing 80 total lines, identifying 66 recognizable events, 13 unrecognized lines, and 1 blank line.

🛠️ Tech Stack

  • Python
  • Streamlit
  • Local-first processing
  • Git/GitHub
  • Log parsing and event classification

The goal was not to build another complicated dashboard. I wanted something that could take messy logs and quickly answer the important question:

"What actually happened in these logs?"

🎥 Demo

Here is the recorded demo of LogSloth:

https://youtu.be/RBMb_O9MRAE

The video walks through the application and demonstrates the log-analysis workflow.

💻 Source Code

The complete project is available on GitHub:

https://github.com/shauryamalhotra957-wq/logsloth

The repository contains the application source code and project documentation.

🔐 Why I Built It

Logs are extremely useful for security analysis, but raw logs are often difficult to read quickly.

A useful security tool should help reduce that initial investigation effort by turning noisy input into something understandable.

LogSloth is my exploration of that idea while learning more about Python, security tooling, log processing, and building practical open-source software.

🚀 What I Learned

Working on LogSloth taught me a lot about:

  • Designing a useful developer-facing tool instead of just a demo
  • Parsing imperfect real-world input
  • Handling unknown/unrecognized log formats
  • Building a usable Streamlit interface
  • Structuring a project for GitHub
  • Testing functionality before shipping
  • Documenting an open-source project
  • Turning a Hacktoberfest challenge into a complete working project

This project is still something I want to improve, but the current version provides a working foundation for local log analysis and security-focused reporting.

🙌 Hacktoberfest

This project was built as part of my Hacktoberfest 2026 Week 3 challenge.

Thanks to the open-source community and the Hacktoberfest ecosystem for pushing me to build, ship, and contribute rather than keeping projects sitting unfinished on my machine.

devchallenge #hf26challenge

Top comments (0)