Skip to content

intheperkofextinction/Log-Analysis-with-Python-Linux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

🛠️ Log Analysis with Python & Linux (Beginner Project)

This is my first hands-on Linux-based Python project. The script reads system log files (like /var/log/syslog) and summarizes how many times different types of errors appear.


🎯 Project Goal

The aim was to:

  • Get comfortable using the Linux terminal (Ubuntu)
  • Use the Nano text editor to write scripts
  • Learn to work with system log files
  • Parse logs using basic Python
  • Build confidence with file handling and CLI tools

🧠 What the Script Does

  • Opens a system log file
  • Converts all lines to lowercase
  • Searches for keywords like error, fail, warning, etc.
  • Counts how many times each appears using collections.Counter
  • Displays a clean summary

⚙️ How to Use

  1. Open your terminal
  2. Clone this repo:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published