Search across all your cloud platforms, accounts, subscriptions and clusters including metadata, tags, metrics & tables.
In this article, you'll learn:
What is Advanced Search?
Hyperglance Advanced Search is a no-code visual querying system that you the power to find what you are looking for across your entire cloud infrastructure (AWS, Azure, Kubernetes), using almost any search criteria you can think of.
By combing search "blocks" you can:
- Search across all your cloud platforms
- Filter your results by AWS Account, Azure Subscription or Kubernetes cluster.
- Filter your results by resource type
- Search inside associated tables (e.g. Security Group rules, Route Table entries)
- Search Metrics (e.g. CPU, IO, Connections)
- Specify AND/OR and NOT criteria
Search Blocks and Logic Blocks
A search query is constructed of search blocks and logic blocks. Click the Add Block button to pick a block:
About search blocks:
About logic blocks:
Attribute block
Search for resources based on their key:value attribute metadata. Select or enter an attribute key, an equality operator (equals, not equals, etc) and a value to compare against.
If you select an attribute key that represents a timestamp the time function (fx) menu will activate:
This allows you to query how many days (or hours) since (or until) the timestamp have passed. For example "Days since launch time > 5":
Tags block
Search for resources based on their cloud tags.
Select or enter a tag key, tag value and an equality operator (equals, not equals, etc).
The tag block supports two match modes: Exact and Fuzzy
Exact mode: Will look for the exact tag, this is case sensitive.
Fuzzy mode: Will use fuzzy matching on the tag key and case-insensitive matching on the tag value.
Fuzzy tag searching example:
This will find resources with tag keys "like" hyp.App1.owner which includes tag keys such as "HYP:app1:owner" or "hypapp1owner" or "hyp_app1_owner", etc. And where the tag value is "Maria", "maria", "MARIA", etc.
Metric block
Search for resources based on live performance metrics (CPU, memory, etc).
Please note metric searches can be slow, if necessary save as a rule and come back later wen results are available.
To use this block you:
- Select an available metric (e.g. CPU Utilization)
- Select a comparison operator (e.g. Greater than)
- Select a value to compare against (e.g. 10 which in this example would mean 10%)
- Select an aggregation rollup function (e.g. Average, Minimum, Maximum, etc) and a period over which to aggregate (e.g. Month)
Free Text Search
Search for resources containing any fragment of text. This is a case-insensitive search.
Table block
Search for resources based on their table and list data. For example you could find Security Groups based on entries in their Inbound data table:
To use the table block you first must choose a table that you wish to search over, for example AWS Security Group inbound tables:
And then in the block itself you can select the column, an equality operator and a value to search for:
AND blocks
AND blocks are not a dedicated type of block since all blocks are ANDed together logically anyway.
Multiple blocks of the same type can be welded together using the AND button:
Whether using the AND button or just stacking disparate blocks together they will form an AND expression:
OR blocks
OR blocks are a special type of container block that changes the mode from AND to OR.
Initially an OR block will be empty:
Click on its "ADD BLOCK" button will insert blocks that are OR'd together:
'Associated With' Block
Adds a nested container block to build a sub-query against any "associated" resources. Associated resources as per Hyperglance's graph-based datamodel. For example an instance/vm is associated-with a subnet and this block lets you find those resources based on criteria from the subnet.
You can see the associated-with block in action by inspecting Hyperglance's pre-loaded security rules, for examples the ones that check for unrestricted port 22 access:
Example:
Adding Exceptions to a Search
Sometimes rules might flag up resources that you decide should not be included in the results (perhaps it is "ok" that a certain resource is open to the internet for example). In these cases you may want to add these resources as exceptions.]
Getting The Most From Your Search Results
View Results in a Diagram
Once you've found your set of resources, select Show In Diagram to view them in a contextual network diagram.
We'd recommend you check out our guide to Hyperglance's diagrams
Save your Search Criteria
You can save your search criteria as a Rule using the Save As Rule option. A Hyperglance Rule is a saved search query that can help to continually monitor your cloud data, including notifications.
We'd recommend you check out our guide to Rules in Hyperglance
Export Your Results
Choose Export To CSV if you'd like to export your search results for further analysis.
View Your Cost
You'll be able to see the total cost of the resources in your search results. Make sure you've enabled cost data in AWS and Azure.
We'd recommend you check out our guide to saving cost using Hyperglance
Run automation actions against your search results
When enabled, you can run automation actions against some or all of the resources in your search results by first selecting them in the list and then using the Run Action button.
Or, if you are saving this search as a Rule and you want the action to run everytime the Rule is scheduled to run then use the Add Automation button on the left side:
After using either of those buttons select the automated action you want to perform from the drop-down:
Confirm to proceed:
We'll be adding more advanced search features in the future. To get the latest updates, make sure you update your install.