# Logs

### Follow the steps below to create and execute a query using the Ascent Logs Data Source.

***

### 1. Go to the Queries Page

* Navigate to the queries page in your dashboard to begin
* In the Queries page, click on the "New Query" button to start a new query

<figure><picture><source srcset="https://2948796384-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LmzGprckLqwd5v6bs6m%2Fuploads%2FIlPqQXX9RpX2eBT9MKNo%2FScreenshot%202025-01-29%20at%202.31.58%E2%80%AFPM.png?alt=media&#x26;token=990277b9-2041-466a-b073-f9e374de75d8" media="(prefers-color-scheme: dark)"><img src="https://2948796384-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LmzGprckLqwd5v6bs6m%2Fuploads%2Fy9n7xWSkBp6QBNYHoIdQ%2FScreenshot%202025-01-29%20at%202.29.38%E2%80%AFPM.png?alt=media&#x26;token=7ccf83f8-eadc-4377-998c-aa3df29e2446" alt=""></picture><figcaption></figcaption></figure>

### 2. Select "Ascent Logs" from the Left Sidebar

* On the left sidebar, click on **Ascent Checks**. This will display a list of all available checks that you can query.

<figure><img src="https://2948796384-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LmzGprckLqwd5v6bs6m%2Fuploads%2FX44BKCRA4YtxvOvBef3B%2Fimage.png?alt=media&#x26;token=59a36770-99da-4f77-b44e-ce81396be3b0" alt=""><figcaption></figcaption></figure>

### 3.Write the query

* Write the query in YAML format and execute query, for example:

```
namespace: "Alerts"
application: "alerts-app"
keyword: ''
duration: '1h'
```

<figure><img src="https://2948796384-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LmzGprckLqwd5v6bs6m%2Fuploads%2F09PHXuHOD78tMFDnx9dI%2Fimage.png?alt=media&#x26;token=bcc0de36-e7a3-4cdb-82f4-a8e141f54bf5" alt=""><figcaption></figcaption></figure>
