If enabled, you can take advantage of the power of Google Cloud's operations suite 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 Google Cloud's operations suite in the project that is hosting the Velostrata Manager.
Each Migrate for Compute Engine deployment has a unique ID, which is reflected in
the Google Cloud's operations suite namespace
resource label.
Using the Google Cloud's operations suite Logging console
The Google Cloud's operations suite 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 Google Cloud's operations suite
Filtering Google Cloud's operations suite Logs
For more information on viewing Google Cloud's operations suite 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 (
resource.type="generic_node"
).
Here you can filter for one or both of the following levels:
A. 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
monitored_resource
labels:
Velostrata_Manager
Velostrata_CloudExtensionNode
Velostrata_OnPremBackend
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
label:monitored_resource:Velostrata_CloudExtensionNode
.