Filter resources and export fleet inventory information

This page shows you how to filter the database fleet information that is displayed in your Database Center dashboard, and describes how to export database fleet inventory information into a CSV file.

You can filter the following information in the Database Center dashboard:

  • Database scope, including projects, folders, and organizations
  • Database products and versions
  • Regions
  • Labels
  • Tags

Filter by labels and tags

You can filter resources that appear in the Database Center dashboard by using labels and tags. Filtering database resources by labels and tags lets you do the following:

  • Focus on the database groups that matter to you.
  • Filter out non-critical information, like databases used for non-production purposes (development, testing, staging, and benchmarking).

If you filter by both labels and tags, then all resources with either a selected label or a selected tag are displayed in the dashboard. For example, if you filter by labels and tags with env - prod, then database resources with either are listed.

A label is a key-value pair that you can assign to Google Cloud resources. You can use labels to help you organize these resources and manage your costs at scale. Labels are imported from your organization or Google Cloud projects. Database Center uses the labels associated with your organization's Google Cloud projects. To learn more, see Best practices for labels.

A tag is a key-value pair that can be attached to a Google Cloud resource. You can use tags to conditionally allow or deny policies based on whether a resource has a specific tag. To learn more, see Creating and managing tags.

To learn more about labels and tags, see Differences between labels and tags.

Before you begin

Filter database resources

  1. In the Google Cloud console, go to the Database Center page.

    Database Center

  2. From the drop-down in the Google Cloud console menu bar, select a database scope—for example, a Google Cloud project, folder, or organization.

  3. Optional: To add up to 10 custom label or tag filters, click Add label/tag filters and follow the instructions in the pane that opens.

  4. Select the products and versions, regions, and label and tag filters you want to apply to your dashboard.

  5. Click All Resources. The data that's displayed in your Database Center dashboard view changes based on your filter selections.

  6. You can apply additional filters to the All Resources table based on properties like resource name, CPU count, memory size, and peak storage utilization. Click the Filter field and select one or more filters.

  7. Optional: To choose your column display options, click .

Export database fleet inventory information

You can export database fleet inventory information to a comma-separated values (CSV) file. Exporting to a CSV file is useful when you want to work with and analyze database fleet information in a spreadsheet.

  1. In the Google Cloud console, go to the Database Center page.

    Database Center

  2. From the drop-down in the Google Cloud console menu bar, select a database scope—for example, a Google Cloud project, folder, or organization.

  3. Select the products and versions, regions, and label and tag filters you want to apply to your dashboard.

  4. Click All Resources.

  5. Click CSV Export. Database Center downloads all your fleet inventory information, based on your filters and health issue customizations, to a CSV file.

What's next