Skip to content

Meetup #9 - Hands on - write a parser for server logs to visualise API usage

Photo of Sandeepan Nath
Hosted By
Sandeepan N.
Meetup #9 - Hands on - write a parser for server logs to visualise API usage

Details

About the system -
For a node.js application having various API end points, will write an end point to visualise API usage statistics. It will parse the node server logs and output stats like -

  • total hits/requests to server on a given day or in a date time range.
  • hits against a specific API, with response code wise breakdown (200, 500 response codes).

The log file has one line for every request, with the following information -

  • server time, API end point, response time, server response code etc.

A Linux grep command easily gives the desired output. I would like to call some grep commands from node js and then put things in a more presentable format.

Note: - Please join with your mic, else there is no point! - I do not have any power backup and have only a wifi connection which is dependent on power! - People staying near Balewadi, who would like to attend face to face, can come to my home. Message me for details. I can host only 2 guests. Rest can attend online, via hangout.

About Speaker - Senior Software Engineer at Talentica Software who has gained a lot of experience lately, working for Payu on their APIs for Citrus Wallet. He prefers live discussions over books and is currently on a mission to take his demonstration skills to the next level.

Photo of Programmer's Micro Meetups (Bangalore) group
Programmer's Micro Meetups (Bangalore)
See more events
Google Hangout
Google Hangout · Pune