---
title: "ezgh obs queries"
description: "Async queries: larger searches and counts over several datasets."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ezgh obs queries

{/* Generated by ezgh-cli's internal/tools/clidocs from the ezgh command tree. Don't edit: change the command's help in ezgh-cli and regenerate. */}

```sh
ezgh obs queries <command>
```

An async query searches 1 to 10 of a project's datasets in the background, under a larger budget than a search, and keeps what it finds for a while (24 hours by default): the records, or with `--group-by`, counts per application, environment, severity or service.

Part of [`ezgh obs`](/cli/reference/obs).

## Flags

This command also takes the [global flags](/cli/reference#global-flags).

## Subcommands

| Command | Description |
| --- | --- |
| [`ezgh obs queries cancel`](/cli/reference/obs-queries-cancel) | Cancel a queued or running async query |
| [`ezgh obs queries get`](/cli/reference/obs-queries-get) | Show an async query's status |
| [`ezgh obs queries list`](/cli/reference/obs-queries-list) | List the project's async queries, newest first |
| [`ezgh obs queries results`](/cli/reference/obs-queries-results) | Print a succeeded query's records, or its counts |
| [`ezgh obs queries start`](/cli/reference/obs-queries-start) | Start an async query over one or more datasets |

Source: https://docs.ezghcloud.com/cli/reference/obs-queries/index.mdx
