Rohitrky2021 / market_assign_devops

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Log Analysis and Monitoring Script

This project is built with Python.

Features

  • Log File Monitoring: Continuously monitors a specified log file for new entries.
  • Log Analysis: Performs basic analysis on log entries, including counting occurrences of specific keywords and generating summary reports.
  • Signal Handling: Stops the monitoring loop gracefully using a signal (Ctrl+C).
  • Error Handling and Logging: Provides informative error messages and logs for better debugging and monitoring.

Getting Started

1. Clone the Repository and Navigate to Directory:

git clone (https://github.com/Rohitrky2021/market_assign_devops)
cd ASSIGNMENT_LOG_MONITORING

2. Run the Script: Run the following command to run the script:

python log_monitor.py

About


Languages

Language:Python 100.0%