Skip to content

jackiedabekar/Server_log_file_to_Html

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Server_log_file_to_Html

This is automation script to extract username and number of error generated by particular user in server log file and convert it CSV and then to HTML file.

All the dependencies need are already their in python, just make sure to install Operator.

First run ticky_check.py and pass log file to it, which will create 2 CSV file.

  • user_statistics.csv
  • error_message.csv

To Run

$ python ticky_check.py Actual_log.log

This 👆🏼 command will create the CSV.

For CSV To HTML Type

$ python csv_to_html.py user_statistic.csv 'path_to_save_html_file_with_filename.html_at_last'

for Example

$ python csv_to_html.py user_statistic.csv 'C:\Users\User_name\Desktop\user.html'

and Similar For error_message.csv

$ python csv_to_html.py error_message.csv 'C:\Users\User_name\Desktop\error.html'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages