# 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="/files/HhNfq7eX1GEYA008XLNo" media="(prefers-color-scheme: dark)"><img src="/files/fNcABYCyBu4nmJsTykiX" 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="/files/rTcVzXOo3IsTwJlEuJTx" 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="/files/oob3TNM5c2LlVGvW093W" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.apica.io/data-sources/ascent-logs/logs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
