How do I aggregate data from the morgan logging library?

Eric H

I have been using the Morgan logger on my node.js API to get some insights into how routes are performing with sample output such as:

2016-05-17T22:47:59.232Z - performance: GET /login 200 14.767 ms - 1157

I'm looking for a way to aggregate this type of data over a time period - but I'm at a loss as to how to do so. I had signed up for loggly as we had something similar set up in it at a previous company (splunk) - but for the life of me I can't see how I could achieve the output I want with that tool.

What can I do to capture, clean and then perform calculations on this type of data in a near real-time fashion?

The type of questions I'm looking to answer are:

  • How do routes on an overall average perform month over month?
  • What are my slowest routes over the last hour/day/week?
  • What is the min/max/average of each route that gets accessed?
  • How many requests do I get during a specific hour of the day?

Any help is appreciated, this is new territory for me and google isn't coming up with much.

Eric H

The answer is to use an APM suite such as NewRelic or AppDynamics.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How do I aggregate data from many files into one file?

From Dev

how to remove the logging data from JNativeHook library

From Dev

How do I fill a child entity with data from DB from inside an aggregate root?

From Dev

How do i aggregate data from 2 columns referencing another table?

From Dev

How do I aggregate this data and create a new column with python & pandas?

From Dev

How do I combine and aggregate Data Frame rows

From Dev

How do I aggregate JSON data using Jolt by two keys?

From Dev

I enabled iptables logging from the command line. How do I undo this logging configuration?

From Dev

How do I prevent Laravel from logging 404 errors?

From Dev

How can I remove extra data from Python logging file?

From Dev

How do I access data returned from an array in my model to my controller to display with the table library

From Dev

How do I add ADTS header when reading m4a raw data from iPod library?

From Dev

Personal computer hacked: How do I block this user from logging in again? How do I find out how they are logging in?

From Dev

Personal computer hacked: How do I block this user from logging in again? How do I find out how they are logging in?

From Dev

Best way to aggregate logging data

From Dev

How do i load data set part of the MASS library in R?

From Dev

How do I aggregate non-aggregate values in GROUP BY queries?

From Dev

How do I link a library to be loaded from the local directory?

From Java

How do I disable log messages from the Requests library?

From Dev

How do i load an image from the IOS photo library to a UIWebView?

From Dev

How do I import .dll library from subfolder in C#

From Dev

How do i load an image from the IOS photo library to a UIWebView?

From Dev

Remove only a library from cocoapod project, how i can do?

From Dev

How do I fetch images from photo library?

From Dev

How do I perform an "OR" filter on an aggregate?

From Dev

How do I extract data from a script?

From Dev

How do i make a list from this data?

From Dev

How do I register logging driver for docker?

From Dev

Kafka: How do I enable client logging?

Related Related

  1. 1

    How do I aggregate data from many files into one file?

  2. 2

    how to remove the logging data from JNativeHook library

  3. 3

    How do I fill a child entity with data from DB from inside an aggregate root?

  4. 4

    How do i aggregate data from 2 columns referencing another table?

  5. 5

    How do I aggregate this data and create a new column with python & pandas?

  6. 6

    How do I combine and aggregate Data Frame rows

  7. 7

    How do I aggregate JSON data using Jolt by two keys?

  8. 8

    I enabled iptables logging from the command line. How do I undo this logging configuration?

  9. 9

    How do I prevent Laravel from logging 404 errors?

  10. 10

    How can I remove extra data from Python logging file?

  11. 11

    How do I access data returned from an array in my model to my controller to display with the table library

  12. 12

    How do I add ADTS header when reading m4a raw data from iPod library?

  13. 13

    Personal computer hacked: How do I block this user from logging in again? How do I find out how they are logging in?

  14. 14

    Personal computer hacked: How do I block this user from logging in again? How do I find out how they are logging in?

  15. 15

    Best way to aggregate logging data

  16. 16

    How do i load data set part of the MASS library in R?

  17. 17

    How do I aggregate non-aggregate values in GROUP BY queries?

  18. 18

    How do I link a library to be loaded from the local directory?

  19. 19

    How do I disable log messages from the Requests library?

  20. 20

    How do i load an image from the IOS photo library to a UIWebView?

  21. 21

    How do I import .dll library from subfolder in C#

  22. 22

    How do i load an image from the IOS photo library to a UIWebView?

  23. 23

    Remove only a library from cocoapod project, how i can do?

  24. 24

    How do I fetch images from photo library?

  25. 25

    How do I perform an "OR" filter on an aggregate?

  26. 26

    How do I extract data from a script?

  27. 27

    How do i make a list from this data?

  28. 28

    How do I register logging driver for docker?

  29. 29

    Kafka: How do I enable client logging?

HotTag

Archive