# BrinkAgent log collection

#### From BrinkAgent UI

When Brinkagent is in ‘running’ state, users can click on dropdown next to username on top right corner and click ‘ Report an Issue’. The log bundle will be downloaded to the 'Downloads' folder.

<div data-full-width="false"><figure><img src="/files/BwQ4GHrjp2cIrtzpwnIU" alt=""><figcaption></figcaption></figure></div>

#### Collect the log bundle when Brinkagent is not running

From Command prompt on Windows or Terminal on Mac, run the following commands to generate log bundle.

#### Windows:&#x20;

C:\Program Files\BrinkAgent\resources\src-electron\main-process\brinkagent\bin\brinksupport.exe --getLogs C:\Users\\\[username]\Downloads

#### Mac:

/opt/BrinkAgent/bin/brinksupport --getLogs /Users/\[username]/Downloads>


---

# 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.cloudbrink.com/troubleshooting-and-faq/brinkagent-log-collection.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.
