> For the complete documentation index, see [llms.txt](https://docs.vngcloud.vn/vng-cloud-document/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vngcloud.vn/vng-cloud-document/vn/vmonitor/dashboards/logs/lam-viec-voi-log-search/export-logs.md).

# Export logs

Để thực hiện xuất dữ liệu logs mà bạn vừa tìm kiếm, hãy làm theo hướng dẫn bên dưới:

1. Đăng nhập vào vMonitor Platform [tại đây.](https://hcm-3.console.vngcloud.vn/vmonitor)
2. Chọn thư mục **Log.**
3. Chọn **Log search**.
4. Thực hiện tìm kiếm logs theo hướng dẫn tại [Search logs](/vng-cloud-document/vn/vmonitor/dashboards/logs/lam-viec-voi-log-search/search-logs.md).
5. Chọn **Export**. Chúng tôi cung cấp cho bạn 2 phương án bao gồm:
   1. Export to **Dashboard**
      1. Nhập **Widget name**: tên widget phải tuân thủ theo quy định của chúng tôi, chi tiết xem tại [Widget](/vng-cloud-document/vn/vmonitor/dashboards/dashboard/widget.md).
      2. Chọn **Dashboard** mà bạn muốn chứa Widget này. Bạn chỉ có thể chọn một trong các **Dashboard tùy chỉnh**.
      3. Chọn **Export.** Sau khi thực hiện **export to dashboard**, hệ thống sẽ tự tạo một **widget** với loại biểu đồ **log search** trên **Dashboard** mà người dùng chọn.
6. Download as **CSV**

Khi bạn thực hiện **export** dữ liệu logs ra file CSV, nếu số lượng bản ghi logs nhỏ hơn **10000** bản ghi thì hệ thống sẽ hỗ trợ bạn export dữ liệu này. Nếu số lượng bản ghi logs của bạn đang vượt quá **10000** thì bạn hãy sử dụng tính năng **Export to dashboard** hay thêm điều kiện search log để làm nhỏ số lượng logs lại.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.vngcloud.vn/vng-cloud-document/vn/vmonitor/dashboards/logs/lam-viec-voi-log-search/export-logs.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
