Algorithm · Perplexity · Medium
Log Parsing and Aggregation You receive application logs as separate text lines. A line can hold several attributes, such as a time, request identifier, user identifier, event name, HTTP status, and response duration. Parse the records, discard or account for bad data as appropriate, then produce the requested summaries or filtered entries. Common requests (the interviewer chooses one) Calculate success percentages, P95/P99 response times, or error totals by user or…
Checking your access…