Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Administrator Limited Edition

Authors: Martif Way

1st Edition

B0CGG89N8Z

More Books

Students also viewed these Databases questions