Whenever we create a default VM instance i can see the Stackdriver logs written in the details section.
So Stackdriver logging is default with every instance but if you want to write it to an external file or other tools you need the Stackdriver agent to be installed in the VMs ? is my understanding correct ?
None of the images on Marketplace has Cloud Monitoring (
stackdriver-agent) or Cloud Logging (
google-fluentd) agent preinstalled. After launching an instance, what you see in Logging section is written by default services come with every GCE instance, like
Cloud Monitoring and Cloud Logging agents must be installed separately for streaming logs to other locations as you’ve understood, they’re not default with every instance 😉