If enabled, you can take advantage of the power of Cloud Logging to diagnose problems with your Migrate for Compute Engine environment. You can also share these logs with Migrate for Compute Engine support to speed up problem resolution.
All Migrate for Compute Engine logs are sent to Cloud Logging in the project that is hosting the Migrate for Compute Engine Manager.
Each Migrate for Compute Engine deployment has a unique ID, which is reflected in
namespace resource label.
Using the Logging console
The Logging documentation has documentation on how to filter and search from the logging console. The directions below assume your familiarity with this interface.
Finding your Namespace
To find your Namespace id:
- Sign in to your Manager
- Click System Settings
- Click the Logs tab
- Copy the System ID (for example QWEX1234) on the bottom of page. This is your Namespace for use in Logging
For more information on viewing Cloud Logging logs, see the documentation
- Go to the Logs Explorer page
- On the top bar of the page, verify that you have selected the correct project.
In the resource-type drop-down list, select Generic Node Resource
Here you can filter for one or both of the following levels:
namespace, using the value you copied above. The Namespace
allows you to view only the logs from your Migrate for Compute Engine environment.
B. Individual Migrate for Compute Engine components can be filtered by the following
Velostrata_ManagedVM, which contains logs for operations Migrate for Compute Engine started on migrated VMs. It does not include system logs from those VMs.
For example, to filter for logs only from your Cloud Extensions, use the text
box at the top of the log list and paste