# 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="https://1542818622-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVsYaOURvSKmQ57SN2CBT%2Fuploads%2FLpur8qgvM8KFQFwc92Cn%2Fimage.png?alt=media&#x26;token=f6967e57-0e6b-4ccf-b99b-104862c78445" 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="https://1542818622-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVsYaOURvSKmQ57SN2CBT%2Fuploads%2F02eQx8tPwNs81OXmZIKp%2FScreenshot%202024-01-30%20at%202.38.36%E2%80%AFPM.png?alt=media&#x26;token=c30e8031-4909-4a60-85d1-b36d1b44668d" 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="https://1542818622-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVsYaOURvSKmQ57SN2CBT%2Fuploads%2FhfYVZQTpVk7NYOFrDu5G%2FScreenshot%202024-01-30%20at%202.41.21%E2%80%AFPM.png?alt=media&#x26;token=95ca139c-f61d-46ed-8b9d-458d467bd71b" 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="https://1542818622-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVsYaOURvSKmQ57SN2CBT%2Fuploads%2FhbPBY0DQARAa1Zu5j4r9%2Fimage.png?alt=media&#x26;token=7494692e-59be-4002-8d01-00cd835f109c" alt=""><figcaption><p>Log details</p></figcaption></figure>
