koa-json-logger icon indicating copy to clipboard operation
koa-json-logger copied to clipboard

Log to API instead of disk

Open rturk opened this issue 9 years ago • 2 comments

Hi It's possible to log (push) to an API instead of write to disk? I would like to log errors (400's and 500's) to AWS SNS, this is a simple API call

rturk avatar Apr 01 '16 15:04 rturk

@rturk Hey Rafael ...

I'm taking a different approach to log shipping.

I log to disk, then ship the logs with FileBeat from Elasticsearch into an ELK stack.

I'm pretty sure Bunyan, the logger, can ship logs directly, but that's something you'll need to investigate more yourself.

rudijs avatar Apr 02 '16 04:04 rudijs

+1 on this. would be nice to have the option to capture log messages and do something with them instead of being forced to log to disk

wellsjo avatar Sep 29 '16 18:09 wellsjo