1
votes

My app is hosted in gcloud app engine and generates bunyan logs. I'm looking for guidance to ship those logs to stackdriver and leverage stackdriver capabilities monitoring, logging and dashboards.. appreciate any pointers.

2

2 Answers

1
votes

As of now, there is a bunyan streamer that supports this. It uses the google stackdriver agent under the hood.It nests the bunyan payload under a key of structPayload in stackdriver.

It works outside of Google Cloud, too, using a service account credential.

0
votes

If bunyan is configured to write to stdout, we'll automatically pick those up and send them to Stackdriver Logging. So this should mostly work :) We're actively working on building a bunyan stream to help here, but stdout will work just fine.

On integrating with other services like monitoring - you need to find "Monitoring" in the Cloud developer console to walk through setting that up.