Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Python language, practice with string processing Part I: Search the System Logs (20 points) Computers generate many diagnostic, error and other informational messages as users

Python language, practice with string processing

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

Part I: Search the System Logs (20 points) Computers generate many diagnostic, error and other informational messages as users login and logout, run programs, and perform other tasks on the computer. This collection of messages is known as a "system log" or simply, "log". For this problem you will write a function that takes a list of strings that represent log messages and extract information from them In our fictional computer system, log messages are formatted like this: COMPUTER NAME USER NAME; MESSAGE TYPE;MESSAGE For example, consider the following log message: SuperComp1;poohbear;ErroriFailed to login successfully We see that the log message consists of four parts, separated by semicolons the name of the computer that generated the log messsage

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

Professional SQL Server 2000 Database Design

Authors: Louis Davidson

1st Edition

1861004761, 978-1861004765

More Books

Students also viewed these Databases questions

Question

What are the primary functions of management?

Answered: 1 week ago