How to Find a Resource
Resoto builds a cloud asset inventory by collecting resource metadata and is equipped with a full-text search index that allows you to discover, monitor, and analyze resources.
Resoto's search can find resources by name, tag, label, ID, or other metadata such as IP address or DNS name.
Prerequisites​
This guide assumes that you have already installed and configured Resoto to collect your cloud resources.
Directions​
Execute the
search
command in Resoto Shell with your search term in double quotes:> search "poweruser"
​kind=kubernetes_pod, ..., region=resoto-poweruser
​kind=aws_iam_policy, name=rotator-support-PowerUser ...
​kind=aws_iam_role, name=eng-se-demo-PowerUser, ...
​kind=gcp_service, ..., account=poweruser-teamThe above example searches resource metadata for the substring
poweruser
.noteSearch in Resoto is generally case-sensitive, but full-text search terms are case-insensitive.
To view resource details, use the
dump
command:> search "poweruser" | dump
​reported:
​ ctime: '2022-04-30T15:11:35Z'
​ id: 9d133e05-c8bb-4da3-b98b-e8033d075d5c
​ labels:
​ alertmanager: prometheus-kube-prometheus-alertmanager
​ app.kubernetes.io/instance: prometheus-kube-prometheus-alertmanager
​ app.kubernetes.io/managed-by: prometheus-operator
​ name: alertmanager-prometheus-kube-prometheus-alertmanager-0
​ namespace: resoto-poweruser
​ pod_spec:
...