GCP stack driver

I’m trying to get all logs to once place with google stack driver. https://cloud.google.com/stackdriver/

Just sending the logs via the api there was easy but for persistent logs its nice to use a monitoring agent. The agent would make sure that all logs are sent even if there is a hard crash. To install the agent with docker the usual instruction is to use the built in support in docker
https://docs.docker.com/config/containers/logging/gcplogs.
But this seems to only work within the google or AWS cloud. Has anybody got something similar to work for stackdriver?

1 Like

Did you have any luck with this? I am interested in doing something similar.

Bump. Can anyone point to a recipe or shed some light on this?

Hi SamB, this is quite an old forum thread. While I don’t have anything on Google Stackdriver to point to have you read this blog post about Datadog monitoring https://www.balena.io/blog/monitoring-your-balena-devices-with-datadog/? Is there information in that post you can use to install the Stackdriver agent in a similar manner?

Thanks, Gareth. I’ll take a look.