Question: Kindly include explanations for the lines of code. Thank you! 1. You will read a list of internet logs from a notepad. 2. Then you

 Kindly include explanations for the lines of code. Thank you! 1.

You will read a list of internet logs from a notepad. 2.

Kindly include explanations for the lines of code. Thank you!

1. You will read a list of internet logs from a notepad. 2. Then you will extract the following. o a host (e.g., '146.204.224.152') o a user_name (e.g., 'feest6811' note: sometimes the user name is missing! In this case, use 'as the value for the username.) o the time a request was made (e.g., '21/Jun/2019:15:45:24 -0700) o the post request type (e.g., 'POST /incentivize HTTP/1.1' note: not everything is a POST!) Your task is to convert this into a list of of strings: I "host:146.204.224.152, user_name: feessesst6811, time :21/Jun/2019:15:45:24 -0700, request: POST /incentivize HTTP/

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!