Warning
The DevOps Portal has been deprecated in the Q4`18 MCP release tagged with the 2019.2.0 Build ID.
The Cloud Intelligence service collects and stores data from MCP services, including OpenStack, Kubernetes, bare metal, and others. The data can be queried to enable use cases such as cost visibility, business insights, cost comparison, chargeback/showback, cloud efficiency optimization, and IT benchmarking. Operators can interact with the resource data using a wide range of queries, for example, searching for the last VM rebooted, total memory consumed by the cloud, number of containers that are operational, and so on.
Note
The Cloud Intelligence service depends on the following services:
To start creating queries that will be submitted to the search engine and display the list of resources:
Log in to the DevOps Portal.
Navigate to the Cloud Intelligence dashboard.
Create your query using the cloud intelligence search query syntax:
To search by groups, use:
type=vm
for instancestype=image
for imagestype=flavor
for flavorstype=host
for hoststype=availabilityZone
for availability zonestype=network
for networkstype=volume
for volumestype=stack
for Heat stackstype=tenant
for tenantstype=user
for usersTo search by field names, specify the field name with the value it contains. For example:
Note
The search by query string is case-insensitive.
status=active
displays all resources with Active
in the Status field, meaning they are in active statusstatus=(active saving)
displays all resources in Active
or Saving statusesname="test_name"
displays all resources which Name
fields contain the exact phrase test_nameTo group a number of queries in a single one, use the following boolean search operators:
Operator | Meaning | Usage example |
---|---|---|
| | The pipe symbol stands for OR operation | minDisk=0 | minRam=0 |
+ | The plus symbol stands for AND operation | minDisk=0 + minRam=0 |
- | The minus symbol negates a single token | minRam=0 + -minDisk=40 searches for resource with minRam
equal to 0 and minDisk not equal to 40 at the same time |
( ) | Parentheses signify grouping and precedence | (minDisk=0 minRam=0) + minDisk=40 |
To search for the reserved characters, escape them with \
.
The whole list of these characters includes
+ - = & | > < ! ( ) { } [ ] ^ " ~ * ? : \ /
.
View search results:
Note
If you have the Cleanup service enabled, the Create Janitor rule button is available for the groups that Janitor supports like VMs, Images, and Tenants. The button provides the same functionality as the Create new rule button on the Janitor dashboard with the conditions list prefilled with item-specific properties.
Export search results into JSON, YAML, and CSV formats using the corresponding buttons on the Cloud Intelligence dashboard. The exported data contains the original query and the resulting groups with their items.