# Monitor Live Statistics and Logs

## Monitor Live Statistics

### 1. **Accessing the Stats Page**

1. To view live statistics, go to your VPN servers list from company dashboard.
2. Click on the specific VPN you want to monitor.
3. Choose the **"Stats"** tab.

<figure><img src="/files/Rw6Lo3OWB8jip5BTSsqJ" alt=""><figcaption><p>VPN Live stats dashboard</p></figcaption></figure>

## 2. Features of Stats Page

In the stats page, you get access to the following details:

1. **Active VPN users:** Displays the total number of users currently connected to the VPN.
2. **Countries:** List of all the countries the users are from and number of users from each country.
3. **Global Heat Map:** Visualizes the distribution of users across the globe.
4. **Users per Country:** Shows a breakdown of users by country.
5. **User Connection Details:** Lists each user along with their connection since timestamp and click on the user to view more details.

<figure><img src="/files/BBWitLxqA1dBnKDutNbX" alt=""><figcaption><p>User details</p></figcaption></figure>

## Monitor Logs

### 1. **Accessing the Logs Page**

1. To view live logs, go to your VPN servers list from company dashboard.
2. Click on the specific VPN you want to monitor.
3. Choose the **"Logs"** tab.

<figure><img src="/files/z3lRchDI8mJEE2bCpYrI" alt=""><figcaption><p>Logs page</p></figcaption></figure>

## 2. Features of Logs Page

The Logs page displays all requests made to the VPN server. You can view details like:

1. **Timestamp**: The exact time when the request was made.
2. **Request URL:** The URL to which the request was made.
3. **Method:** The HTTP method used (e.g., GET, POST).
4. **Username:** The username of the user who made the request.
5. **Log Details:** Clicking on a log entry will provide more detailed information, including:
   * **Log Details:** Specifics of the request like the URL, HTTP method, and timestamp.
   * **General Information:** Additional details such as HTTP version, headers size, and body size.
   * **Headers:** A breakdown of the request headers.
   * **Cookies:** Any cookies sent with the request.

<figure><img src="/files/esyXJbRhpK8Cxhlj2pLJ" alt=""><figcaption><p>Log details</p></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.bugbase.ai/company-guide/vpn-servers/monitor-live-statistics-and-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.
