pinojs / pino

🌲 super fast, all natural json logger
http://getpino.io
MIT License
14.21k stars 875 forks source link

Upload logs to Stackdriver #293

Closed dgonzalez closed 5 years ago

dgonzalez commented 7 years ago

Currently there is no support for Stackdriver on Pino. I'd say the solution is 99% the same as https://github.com/pinojs/pino/issues/33 (Cloudwatch).

Once we have this working we can request to add a how-to in this page: https://cloud.google.com/logging/docs/setup/nodejs

jsumners commented 6 years ago

Would you like to create a module and submit a PR to add it to the transports list?

benjsicam commented 6 years ago

+1. Would be great to have an official transport for Google Stackdriver Logging.

davidmarkclements commented 6 years ago

@benjsicam if you'd like to create a module we'd be happy to review it

Istar-Eldritch commented 6 years ago

Is there any progress on this line? If not shall I give it a try?

davidmarkclements commented 6 years ago

Go for it, I'd recommend using an existing repo as a template - pino-elasticsearch may be a good starting point

jsumners commented 6 years ago

Looks like someone has attempted this:

cc: @seangenabe

debuggingfuture commented 6 years ago

facing the same issue, a follow up question:

ovhemert commented 6 years ago

While I was finishing up my own version of the module, I just found out this thread exists. Please see if this already is what you are looking for. Could be added to the transport list if you like.

cc: @dgonzalez @davidmarkclements

davidmarkclements commented 5 years ago

@ovhemert awesome - only just getting to this - so many badges

at the very least do a PR for https://getpino.io/#/docs/transports?id=known-transports to add your transport - with regards to making it an official transport, with you as the maintaining author can you please open a fresh issue re making it an official transport, for the core team to review?

closing now, since we have an answer to this issue thanks to @ovhemert

github-actions[bot] commented 2 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.