Skip to content

meisfrancis/python-logs-filter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This module help you filter system logs

Usage

git clone [email protected]:francisizme/python-logs-filter.git
cd python-logs-filter

Make it executable

chmod +x ./find_errors.py

./find_errors.py $LOG_FILE$ [OUTUT_PATH OUTPUT_NAME]

Example

Find error contain cake pie in the log file sys.log

./find_errors.py ~/var/logs/sys.log
>>> What is the error?
cake pie

As the output path and output name are not provided. The output file will be named errors_found.log as default and placed in the current directory

About

This module help you filter system logs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages