Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Hopefulee/log-parser

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Log Parser

Overview

This project parses a log file containing HTTP requests and reports:

  • The number of unique IP addresses
  • The top 3 most visited URLs
  • The top 3 most active IP addresses

Instructions

  1. Ensure you have Node.js installed.
  2. Run npm install to install any dependencies.
  3. Run the script using node src/main.js <log_file_path>. Run npm run start or yarn start to run default file data/programming-task-example-data.log.
  4. Run npm run test or yarn test.

Assumptions

  • The log file is reasonably small and can fit into memory for analysis.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.