---
title: Search
description: How to use Hyperglance Search - search blocks and logic blocks, Ask AI and Explain with AI, exceptions, saving a search as a rule, and running automations against the results.
---

[Skip to content](https://support.hyperglance.com/knowledge/advanced-search#main-content)

English

Show submenu for translations

[More support](https://support.hyperglance.com/knowledge/kb-tickets/new?hsLang=en)

![](https://support.hyperglance.com/hs-fs/hubfs/hyperglance.png?width=100&height=75&name=hyperglance.png)

Open main navigation

Close main navigation

- English
  
  Show submenu for translations
- [More support](https://support.hyperglance.com/knowledge/kb-tickets/new)
- [Contact Us](https://www.hyperglance.com/contact/)

[Contact Us](https://www.hyperglance.com/contact/)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [Hyperglance Support](https://support.hyperglance.com/knowledge?hsLang=en)
2. [Using Hyperglance](https://support.hyperglance.com/knowledge/using-hyperglance?hsLang=en)
3. [Search & Rules](https://support.hyperglance.com/knowledge/using-hyperglance?hsLang=en#search-rules)

# Search

## Find any resource across all your clouds by its attributes, tags, metrics, tables and relationships, or ask AI to build the search

**Search** finds resources across all your clouds: AWS, Azure, Google Cloud and Kubernetes. Build a query from blocks: attributes, tags, metrics, table data and relationships between resources, combined with AND, OR and NOT. Every [rule](https://support.hyperglance.com/knowledge/rules?hsLang=en) is a saved search.

![Search, showing a rule's query and its results](https://support.hyperglance.com/hs-fs/hubfs/kb-assets/36e1cfdef130-search-page.png?width=900&name=36e1cfdef130-search-page.png)

- [What is Search?](https://support.hyperglance.com/knowledge/advanced-search#what)
- [Ask AI and Explain with AI](https://support.hyperglance.com/knowledge/advanced-search#ai)
- [Search Blocks and Logic Blocks](https://support.hyperglance.com/knowledge/advanced-search#blocks)
    - [Attribute block](https://support.hyperglance.com/knowledge/advanced-search#attribute-block)
    - [Tags block](https://support.hyperglance.com/knowledge/advanced-search#tags-block)
    - [Metric block](https://support.hyperglance.com/knowledge/advanced-search#metric-block)
    - [Free Text Search](https://support.hyperglance.com/knowledge/advanced-search#freetext-block)
    - [Table block](https://support.hyperglance.com/knowledge/advanced-search#table-block)
    - [AND blocks](https://support.hyperglance.com/knowledge/advanced-search#and-blocks)
    - [OR blocks](https://support.hyperglance.com/knowledge/advanced-search#or-blocks)
    - ['Associated With' Block](https://support.hyperglance.com/knowledge/advanced-search#associated-with-block)
- [Adding Exceptions to a Search](https://support.hyperglance.com/knowledge/advanced-search#exceptions)
- [Getting The Most From Your Search Results](https://support.hyperglance.com/knowledge/advanced-search#getthemost)
    - [Running automation actions against your search results](https://support.hyperglance.com/knowledge/advanced-search#running-automation-actions-against-your-search-results)

### What is Search?

On the left you build the query; on the right are the resources it finds. With Search you can:

- Search across all your cloud platforms at once, or filter by environment (account, subscription, project or cluster) with **Filter By Environment**.
- Limit the search to resource types with **Filter By Type**.
- Search inside associated tables, such as security group rules and route table entries.
- Search on metrics, such as CPU utilization or connections.
- Combine conditions with AND, OR and NOT (**WITHOUT**).

Click **Search** to run the query, and **Clear** to start again.

### Ask AI and Explain with AI

- **Ask AI:** describe what you're looking for, for example "EC2 instances with no Owner tag", and click **Generate** to build the query for you. Check the blocks it creates, then click **Search**.
- **Explain with AI:** explains the current query in plain words. Useful for understanding a built-in rule.

![Ask AI](https://support.hyperglance.com/hs-fs/hubfs/kb-assets/0605261545e3-ask-ai.png?width=364&name=0605261545e3-ask-ai.png)

Both need an AI provider set up in **Settings › AI** (see [Enabling AI features](https://support.hyperglance.com/knowledge/enable-ai-features?hsLang=en)).

### Search Blocks and Logic Blocks

A search query is built from search blocks and logic blocks. Click **Add Block** to pick one:

![The Add Block menu](https://support.hyperglance.com/hs-fs/hubfs/kb-assets/228893a1ed8a-add-block.png?width=488&name=228893a1ed8a-add-block.png)

About search blocks:

- [Attributes block](https://support.hyperglance.com/knowledge/advanced-search#attribute-block)
- [Tags block](https://support.hyperglance.com/knowledge/advanced-search#tags-block)
- [Metric block](https://support.hyperglance.com/knowledge/advanced-search#metric-block)
- [Free Text Search block](https://support.hyperglance.com/knowledge/advanced-search#freetext-block)
- [Table block](https://support.hyperglance.com/knowledge/advanced-search#table-block)

About logic blocks:

- [AND blocks](https://support.hyperglance.com/knowledge/advanced-search#and-blocks)
- [OR block](https://support.hyperglance.com/knowledge/advanced-search#or-blocks)
- ['Associated With' block](https://support.hyperglance.com/knowledge/advanced-search#associated-with-block)

#### 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.

![](https://support.hyperglance.com/hs-fs/hubfs/kb-assets/e15911262649-advanced-search-04.png?width=332&name=e15911262649-advanced-search-04.png)

![](https://support.hyperglance.com/hs-fs/hubfs/kb-assets/88810925fa21-advanced-search-05.png?width=214&name=88810925fa21-advanced-search-05.png)

If you select an attribute key that represents a timestamp the time function (fx) menu will activate:

![](https://support.hyperglance.com/hs-fs/hubfs/kb-assets/3267e6a17791-advanced-search-06.png?width=471&name=3267e6a17791-advanced-search-06.png)

This allows you to query how many days (or hours) since (or until) the timestamp have passed. For example "Days since launch time \> 5":

![](https://support.hyperglance.com/hs-fs/hubfs/kb-assets/ae3f692b807d-advanced-search-07.png?width=326&name=ae3f692b807d-advanced-search-07.png)

#### 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).

![](https://support.hyperglance.com/hs-fs/hubfs/kb-assets/9e2e28a7fd08-advanced-search-08.png?width=324&name=9e2e28a7fd08-advanced-search-08.png)

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:**

![](https://support.hyperglance.com/hs-fs/hubfs/kb-assets/9ce6862f69b1-advanced-search-09.png?width=326&name=9ce6862f69b1-advanced-search-09.png)

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).

Note

Metric searches can be slow: if necessary, save as a rule and come back later when results are available.

To use this block you:

1. Select an available metric (e.g. CPU Utilization)
2. Select a comparison operator (e.g. Greater than)
3. Select a value to compare against (e.g. 10 which in this example would mean 10%)
4. Select an aggregation rollup function (e.g. Average, Minimum, Maximum, etc) and a period over which to aggregate (e.g. Month)

![](https://support.hyperglance.com/hs-fs/hubfs/kb-assets/c390729ce777-advanced-search-10.png?width=330&name=c390729ce777-advanced-search-10.png)

#### Free Text Search

Search for resources containing any fragment of text. This is a case-insensitive search.

![](https://support.hyperglance.com/hs-fs/hubfs/kb-assets/545ee3d14a41-advanced-search-11.png?width=321&name=545ee3d14a41-advanced-search-11.png)

#### 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:

![](https://support.hyperglance.com/hs-fs/hubfs/kb-assets/4f8809572ffd-advanced-search-12.png?width=323&name=4f8809572ffd-advanced-search-12.png)

To use the table block you first must choose a table that you wish to search over, for example AWS Security Group inbound tables:

![](https://support.hyperglance.com/hs-fs/hubfs/kb-assets/ae03ff51cd73-advanced-search-13.png?width=571&name=ae03ff51cd73-advanced-search-13.png)

And then in the block itself you can select the column, an equality operator and a value to search for:

![](https://support.hyperglance.com/hs-fs/hubfs/kb-assets/835d8a2699cb-advanced-search-14.png?width=324&name=835d8a2699cb-advanced-search-14.png)

![](https://support.hyperglance.com/hs-fs/hubfs/kb-assets/a63d0e103c3f-advanced-search-15.png?width=321&name=a63d0e103c3f-advanced-search-15.png)

#### 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:

![](https://support.hyperglance.com/hs-fs/hubfs/kb-assets/154f61d6dd93-advanced-search-16.png?width=119&name=154f61d6dd93-advanced-search-16.png)

Whether using the AND button or just stacking disparate blocks together they will form an AND expression:

![](https://support.hyperglance.com/hs-fs/hubfs/kb-assets/a2eea9ac8c79-advanced-search-17.png?width=323&name=a2eea9ac8c79-advanced-search-17.png)

#### 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:

![](https://support.hyperglance.com/hs-fs/hubfs/kb-assets/e439d68119c9-advanced-search-18.png?width=319&name=e439d68119c9-advanced-search-18.png)

Click on its "ADD BLOCK" button will insert blocks that are OR'd together:

![](https://support.hyperglance.com/hs-fs/hubfs/kb-assets/6c6da1338608-advanced-search-19.png?width=322&name=6c6da1338608-advanced-search-19.png)

#### '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.

![](https://support.hyperglance.com/hs-fs/hubfs/kb-assets/2c5e4767a0f6-advanced-search-20.png?width=319&name=2c5e4767a0f6-advanced-search-20.png)

You can see the associated-with block in action in Hyperglance's built-in security rules, for example the ones that check for unrestricted access to port 22: open one from the Rules page and look at its **Query**.

Example:

![](https://support.hyperglance.com/hs-fs/hubfs/kb-assets/499560d24dec-advanced-search-22.png?width=323&name=499560d24dec-advanced-search-22.png)

### Adding Exceptions to a Search

When a search or rule finds resources you're happy to leave as they are (a server that's meant to be open to the internet, say), select them in the results and click **Add to Exceptions**, with a note saying why. They no longer count as results. See [Exceptions](https://support.hyperglance.com/knowledge/rule-exceptions?hsLang=en) in the rules guide.

### Getting The Most From Your Search Results

- **Show in Diagram:** see the results in a [diagram](https://support.hyperglance.com/knowledge/hyperglance-diagram-view?hsLang=en), with the resources around them.
- **Save As Rule:** save the search as a [rule](https://support.hyperglance.com/knowledge/rules?hsLang=en#creating) that runs on a schedule and can notify you and run automations. For a rule you opened from the Rules page, **Save Changes** updates it, and the arrow beside it saves a copy.
- **Edit Config:** change a rule's name, labels, schedule, notifications and automations.
- **Export to CSV:** download the results.
- **Cost:** the results show what each resource cost over the last 30 days, when cost collection is set up for its account (see [AWS](https://support.hyperglance.com/knowledge/how-to-enable-cost-collection-in-aws?hsLang=en) and [Azure](https://support.hyperglance.com/knowledge/how-to-enable-cost-collection-in-azure?hsLang=en)).

#### Running automation actions against your search results

- **Run Action:** select resources in the results, click **Run Action** and choose an action, such as stopping instances or adding a tag. It runs once, straight away.
- **Add Automation:** adds an action to the search, so it runs on the results every time the search runs as a rule.

Actions need automations set up first. See:

- [How do Hyperglance Automations work?](https://support.hyperglance.com/knowledge/how-do-automations-work?hsLang=en)
- [What Automations are included with Hyperglance?](https://support.hyperglance.com/knowledge/what-automations-are-available?hsLang=en)
- How to enable automations for [AWS](https://support.hyperglance.com/knowledge/how-to-enable-automations-and-actions-for-aws?hsLang=en) or [Azure](https://support.hyperglance.com/knowledge/how-to-enable-azure-automations-actions-in-hyperglance?hsLang=en)

- [Getting Started](https://support.hyperglance.com/knowledge/getting-started?hsLang=en#main-content)

    - [Start Here](https://support.hyperglance.com/knowledge/getting-started?hsLang=en#start-here)
    - [Installation & Deployment Guides](https://support.hyperglance.com/knowledge/getting-started?hsLang=en#installation-deployment-guides)
    - [Cloud Marketplaces](https://support.hyperglance.com/knowledge/getting-started?hsLang=en#cloud-marketplaces)
- [Using Hyperglance](https://support.hyperglance.com/knowledge/using-hyperglance?hsLang=en#main-content)

    - [Dashboards & Reports](https://support.hyperglance.com/knowledge/using-hyperglance?hsLang=en#dashboards-reports)
    - [Cost Analysis](https://support.hyperglance.com/knowledge/using-hyperglance?hsLang=en#cost-analysis)
    - [Cost Optimization](https://support.hyperglance.com/knowledge/using-hyperglance?hsLang=en#cost-optimization)
    - [Cost Allocation & Budgets](https://support.hyperglance.com/knowledge/using-hyperglance?hsLang=en#cost-allocation-budgets)
    - [Infrastructure Diagrams](https://support.hyperglance.com/knowledge/using-hyperglance?hsLang=en#infrastructure-diagrams)
    - [Search & Rules](https://support.hyperglance.com/knowledge/using-hyperglance?hsLang=en#search-rules)
    - [AI & Agents](https://support.hyperglance.com/knowledge/using-hyperglance?hsLang=en#ai-agents)
    - [Automations](https://support.hyperglance.com/knowledge/using-hyperglance?hsLang=en#automations)
    - [Security & Compliance](https://support.hyperglance.com/knowledge/using-hyperglance?hsLang=en#security-compliance)
- [Integrations](https://support.hyperglance.com/knowledge/integrations?hsLang=en#main-content)

    - [AWS](https://support.hyperglance.com/knowledge/integrations?hsLang=en#aws)
    - [Azure](https://support.hyperglance.com/knowledge/integrations?hsLang=en#azure)
    - [GCP](https://support.hyperglance.com/knowledge/integrations?hsLang=en#gcp)
    - [Kubernetes](https://support.hyperglance.com/knowledge/integrations?hsLang=en#kubernetes)
    - [AI Providers](https://support.hyperglance.com/knowledge/integrations?hsLang=en#ai-providers)
    - [Notifications & Ticketing](https://support.hyperglance.com/knowledge/integrations?hsLang=en#notifications-ticketing)
    - [Automations Setup](https://support.hyperglance.com/knowledge/integrations?hsLang=en#automations-setup)
- [System Administration](https://support.hyperglance.com/knowledge/system-administration?hsLang=en#main-content)

    - [Users, Roles & SSO](https://support.hyperglance.com/knowledge/system-administration?hsLang=en#users-roles-sso)
    - [Security & Networking](https://support.hyperglance.com/knowledge/system-administration?hsLang=en#security-networking)
    - [Updates & Maintenance](https://support.hyperglance.com/knowledge/system-administration?hsLang=en#updates-maintenance)
    - [API Keys](https://support.hyperglance.com/knowledge/system-administration?hsLang=en#api-keys)
    - [Legacy Docker-based deployments](https://support.hyperglance.com/knowledge/system-administration?hsLang=en#legacy-docker-based-deployments)
- [Reference](https://support.hyperglance.com/knowledge/reference?hsLang=en#main-content)

    - [Release Notes](https://support.hyperglance.com/knowledge/reference?hsLang=en#release-notes)
    - [Architecture](https://support.hyperglance.com/knowledge/reference?hsLang=en#architecture)
    - [Supported Services](https://support.hyperglance.com/knowledge/reference?hsLang=en#supported-services)
    - [Rule Catalog](https://support.hyperglance.com/knowledge/reference?hsLang=en#rule-catalog)
    - [API Reference](https://support.hyperglance.com/knowledge/reference?hsLang=en#api-reference)
    - [Conformance & Trust](https://support.hyperglance.com/knowledge/reference?hsLang=en#conformance-trust)
- [Pricing & Licensing](https://support.hyperglance.com/knowledge/pricing-licensing?hsLang=en#main-content)

    - [Pricing & Purchasing](https://support.hyperglance.com/knowledge/pricing-licensing?hsLang=en#pricing-purchasing)
    - [Managing Your License](https://support.hyperglance.com/knowledge/pricing-licensing?hsLang=en#managing-your-license)

[![Chill listening crop-3](https://support.hyperglance.com/hs-fs/hubfs/hyperglance.png?width=134&height=24&name=hyperglance.png "Chill listening crop-3")](https://www.hyperglance.com/)

2880 Zanker Road, Suite 203, San Jose, CA 95134

<https://www.linkedin.com/company/hyperglance/>

Copyright © 2025 Hyperglance. All rights reserved.