Table of Contents
Project parses NASA's logs. Every log is given in the format $remote_addr - - [$local_time] “$request” $status $bytes_send
where
- $remote_addr - source of a request
- $local_time - time of the request
- $request - request
- $status - status
- $bytes_send - number of bytes in the answer to the request
Ex.: 198.112.92.15 - - [03/Jul/1995:10:50:02 -0400] "GET /shuttle/countdown/HTTP/1.0" 200 3985
The program will
- output the number of logs with status 5xx and the list of such logs
- for the given time interval in seconds find maximum number of requests to the server
Clone the repo with git clone https://github.com/MariaMozgunova/parse_server_logs.git
To run the program type process_logs.exe <time_interval_in_seconds> <path_to_logs_file>
in the terminal
Distributed under the MIT License. See LICENSE.txt
for more information.
Maria Mozgunova - @mariamozgunova - [email protected]
Project Link: https://github.com/MariaMozgunova/parse_server_logs