Skip to content

MasonNunes/system-log-analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

System Log Analyzer

A Python automation tool that parses Linux system logs, extracts structured insights, and generates CSV reports summarizing user activity and error frequency. This project demonstrates real-world scripting, log analysis, and data processing skills.


πŸš€ Features

  • Parses syslog.log line-by-line using regular expressions
  • Extracts INFO and ERROR events
  • Tracks error message frequency
  • Tracks per-user activity
  • Generates two CSV reports:
    • error_message.csv β€” sorted by most frequent errors
    • user_statistics.csv β€” sorted alphabetically by username
  • Clean, documented Python code with clear workflow sections

🧠 Skills Demonstrated

  • Python scripting
  • Regular expressions (re module)
  • CSV generation (csv module)
  • File handling
  • Data structures (dictionaries, sorting, tuples)
  • Automation and log parsing
  • Clean code and documentation practices
  • Git & GitHub workflow

πŸ“‚ File Structure

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors