# Proxy Traffic Analytics &amp; Access Logs by Port, IP and Domain

> For AI tools: this is the Markdown copy of https://xproxy.io/document/proxy-analytics-access-logs. Every XProxy guide has one at its URL + `.md`; the index of all guides is https://xproxy.io/llms.txt.

See which websites and client IPs use each mobile proxy, the success rate and upload/download per port, and search or download the live access log.

XProxy shows the traffic of every mobile proxy port: which websites and client IPs use it, the success rate, and how much data goes up and down. Open **Proxy Analytics** for totals, **Access Logging** for every request, or **Port Analytics** for one proxy.

**You need:** the Basic plan or higher ([Pricing](https://xproxy.io/pricing) lists data usage, analytics and real-time traffic logs from Basic) and **access logging** turned on. It is on by default.

In short

**Proxy Analytics**

The big picture over 1 hour to 30 days: traffic, requests, unique IPs, success rate, IP rotations and errors.

**Access Logging**

A live list of every connection. Filter it by port, username, client IP, website or status, and download it as a ZIP.

**Port Analytics**

The same numbers for one modem only: its websites, its clients and its live log. Open it from the row menu in Proxy Management.

## Which one do I open?

| You want to know | Open |
| --- | --- |
| How much data did my proxies use this week? | **Proxy Analytics**, range **7D**, card **Total Traffic** |
| Which proxy port is the busiest? | **Proxy Analytics → Port Breakdown** |
| Which websites does my proxy visit? | **Proxy Analytics → Domain/IP Breakdown**, or **Port Analytics → Websites &amp; Hosts** |
| Who is connecting to my proxy? | **Proxy Analytics → IP Breakdown** or **User Breakdown**, or **Port Analytics → Clients** |
| Why do some requests fail? | **Access Logging**, filter **Status Code** to **ALL ERRORS** |
| Is somebody trying to guess my proxy password? | **Access Logging**, card **Unauthorized** |

## How do I see traffic per port, client IP and website?

Follow the guide. It starts with the logging switch and ends with the live log of one port.

**Step 1: Make sure access logging is on**

Analytics is built from the access log, so the log must be on. It is on by default. To check, open **Proxy Management → Proxy Settings → General** and find **Proxy Logging Setting**.

1. Turn on **Enable** under **Proxy Access Logs**.
2. Set **Max Storage Days**, from 1 to 30 days. The log files grow with your traffic, so do not set it higher than you need.

![Proxy Settings, Proxy Logging Setting: the Enable switch for proxy access logs and Max Storage Days marked (demo data)](https://media1.xproxy.io/docs/analytics/an-1-logging-v1.webp)

> A fresh box keeps 3 days of raw log. With logging off, the Analytics page shows an "Access Logging is Disabled" warning with a link to this setting, and the numbers are old ones.

**Step 2: Pick a time range**

Open **Proxy Analytics** in the left menu, under **Monitor**. The page opens on the last 24 hours.

1. Choose **1H**, **6H**, **24H**, **7D**, **30D** or **ALL**, or set your own start and end next to it.
2. Use the type list to show only **MAIN** (your normal proxy ports), **SELL** (Selling Platform ports) or **GROUP** ([Proxy Group](https://xproxy.io/document/proxy-group) ports).

The four cards give the totals: **System Health** (uptime), **Total Traffic** (download plus upload), **Total Requests** and **Active / Unique IPs**. The **Traffic Timeline** shows the same data over time. Switch it between **10 Min**, **Hourly** and **Daily**.

![Proxy Analytics page: time range buttons, type filter, four summary cards for system health, total traffic, total requests and unique IPs, and the traffic timeline chart (demo data)](https://media1.xproxy.io/docs/analytics/an-2-overview-v1.webp)

> The page refreshes itself every minute. Numbers only reach it about a minute after the traffic happened.

**Step 3: Read the breakdown tables**

Scroll down to the tabs. Each tab ranks the same traffic a different way:

- **Port Breakdown**: which proxy port is busiest.
- **IP Breakdown**: which client IPs connect.
- **User Breakdown**: which proxy usernames connect.
- **Domain/IP Breakdown**: which websites and servers your proxies visit.

Every row shows **Requests**, **Download**, **Upload**, **Success**, **Errors** and the **Success Rate**. Click a column title to sort. Each table lists up to 500 rows.

![Proxy Analytics breakdown tabs for port, client IP, user and domain, with the Download and Success Rate columns marked (demo data)](https://media1.xproxy.io/docs/analytics/an-3-breakdown-v1.webp)

> Success rate = requests without an error ÷ all requests. **Green** is 99% or more, **orange** is 90% to 99%, **red** is below 90%.

**Step 4: Open Port Analytics for one proxy**

To look at one modem only, open **Proxy Management**. On the row, click the arrow next to **Rotate** and choose **Port Analytics**.

The window is titled with the position and all ports of that modem (HTTP, SOCKS5 and the IPv6 or dual-stack ports). The first line shows the device, its IP and a **LIVE** or **DOWN** tag. Four tabs follow. **Overview** has the cards (**Total Requests**, **Download**, **Upload**, **Total Errors**) and a 24-hour chart of requests per hour.

![Proxy Management row menu opened with Port Analytics marked (demo data)](https://media1.xproxy.io/docs/analytics/an-4-menu-v1.webp)

> Port Analytics reads the same data as Proxy Analytics, cut down to the ports of this one modem. It is the quickest way to answer "who used proxy 4 yesterday?".

**Step 5: See websites, clients and live requests of that port**

**Websites &amp; Hosts** lists the top 20 domains and servers on this port. **Clients** lists the top 20 client IPs. It shows the **Username** each client used, a **Success Rate** and when it was **Last Seen**.

**Access Logs** is a live list of this port's requests, refreshed every 2 seconds. Type in the search box to match a client IP, username, domain or status code. Each line has a **Status** and the data moved: **Rx/Tx**, download first, then upload.

![Port Analytics, Clients tab: client IP, username, requests, download, upload, success rate and last seen for one proxy port (demo data)](https://media1.xproxy.io/docs/analytics/an-6-clients-v1.webp)

> Client IPs and domains in the pictures are made-up demo data.

## What else is on the Proxy Analytics page?

Below the breakdown tables the page has three more blocks:

- **IP Rotation**: total rotations, average rotation time, duplicate IPs and failed rotations, with a table of the IPs each position used. See [IP pools, rotation log &amp; uptime statistics](https://xproxy.io/document/ip-pools-rotation-log) for the per-modem history, and [how to rotate the IP](https://xproxy.io/document/how-change-rotate-ip).
- **Uptime by Position**: which modem slots were online the least.
- **Error Breakdown**: which error types happen and how often.

## How do I search and download the proxy access log?

Open **Access Logging** in the left menu, under **Monitor**. The list is live: new requests appear at the top as they happen.

![Access Logging page: summary cards, keyword search and filter builder, time range buttons, download button and live request table (demo data)](https://media1.xproxy.io/docs/analytics/lg-1-page-v1.webp)

Access Logging: ① summary of the lines on screen · ② keyword search · ③ **Add Filter** · ④ time range · ⑤ **Download** · ⑥ **LIVE** and **Table** / **Raw** view.

- **Summary cards.** They count the lines now on screen: requests with the share of OK and errors, download and upload, the top client IP, and **Unauthorized**, the IPs that failed to log in. Click the **View List** button there to see them and filter by one.
- **Search and filters.** Type a keyword, or click **Add Filter** and pick a field: **Port**, **Position**, **Username**, **Client IP**, **Target Host**, **Method**, **Status Code** or **Log Type**. You can also click the small magnifier next to any value in the table to filter by it.
- **Time range.** **1H** to **30D**, or your own start and end. Looking at the past pauses the live list. Press **LIVE** to go back.
- **Table or Raw.** The table can be expanded per row to show the raw log line. **Raw** shows plain text.
- **Download.** A ZIP file. With no filter you get all the log files on the box. With a filter, a keyword or a time range you get one text file with the matching lines (up to 100,000).

Want the logs outside the panel, for dashboards and alerts? Stream them to your own server: [Realtime telemetry log streaming](https://xproxy.io/document/realtime-telemetry-log-streaming).

## What do MAIN, SELL and GROUP mean?

Every log line carries the kind of port it came from.

| Type | Port |
| --- | --- |
| **MAIN** | The normal proxy ports of your modems. |
| **SELL** | Shared ports of the [Selling Platform](https://xproxy.io/document/how-use-selling-platform) (Business plan). |
| **GROUP** | Ports of a [Proxy Group](https://xproxy.io/document/proxy-group). |

## What do the status codes in the log mean?

Each line ends with a status. **OK** is a success. **ERR:** followed by a number is an error. Hover over a status in the table to read its meaning. The ones you will meet most:

| Status | Meaning | What to do |
| --- | --- | --- |
| `00001` to `00008` | Access or login refused: denied by a rule, no username, unknown username or wrong password. The **Unauthorized** card counts these. | Check the username and password in the client, or the IP whitelist. See [Proxy settings](https://xproxy.io/document/proxy-settings). |
| `00010` | Traffic or bandwidth limit exceeded. | Check the traffic or speed limit set for that port. |
| `00013` | Failed to connect to the target server. | Try again. If it repeats, rotate the IP or run the Speed check. |
| `00092` | Connection timed out, or taking too long. | Run the [Speed check](https://xproxy.io/document/troubleshooting-setup-check) to see where the delay is. |
| `00095` / `00096` | The client (95) or the target server (96) dropped the connection suddenly. | See which client or website repeats, and check that one. |
| `00100` | Domain name or host not found. | Check the address. If it is right, check the DNS settings. |

## FAQ

### Why is Proxy Analytics empty or old?

Either access logging is off (the page shows a warning), or there was no traffic in the range you picked. Analytics reads the log about once a minute, so give new traffic a minute to appear.

### How long is the data kept?

The raw log keeps as many days as **Max Storage Days** says (3 on a fresh box, 1 to 30 allowed). The numbers behind Proxy Analytics are summarised and kept for about 30 days, so a range of 30 days works even when the raw log is shorter.

### What do `[Internal]` and `[Startup / Listen]` mean?

They are lines the proxy wrote about itself, for example when a port starts. They have no real client IP or website.

### How is the success rate worked out?

Requests with status OK, divided by all requests of that port, IP, user or website. It is shown in green from 99%, orange from 90%, and red below that.

## What next?

Send the logs to your own dashboard, check the history of each IP, or find out why a proxy is slow.

[Stream logs to Graylog or SigNoz →](https://xproxy.io/document/realtime-telemetry-log-streaming) [IP pools &amp; rotation log →](https://xproxy.io/document/ip-pools-rotation-log) [Why is my proxy slow? →](https://xproxy.io/document/troubleshooting-setup-check)

---

Source: https://xproxy.io/document/proxy-analytics-access-logs
