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
But this seems to only work within the google or AWS cloud. Has anybody got something similar to work for stackdriver?