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?
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?