Google Certified Associate Cloud Engineer 2020

Sign Up Free or Log In to participate!

Stackdriver logging


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 ?

1 Answers

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 google-guest-agent, google-osconfig-agent, etc.

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 😉

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?