Google Cloud Professional DevOps Engineer Q16

28 Mar
question-and-answer

You are running an application in a virtual machine (VM) using a custom Debian image. The image has the Stackdriver Logging agent installed. The VM has the cloud-platform scope. The application is logging information via syslog. You want to use Stackdriver Logging in the Google Cloud Platform Console to visualize the logs. You notice that syslog is not showing up in the “All logs” dropdown list of the Logs Viewer. What is the first thing you should do?