> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gcore.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Logging for load balancers

Load Balancer logging records the access logs generated by each listener — incoming connection details, request metadata, and response codes — and sends them to the Gcore Logging service, where they are stored in OpenSearch and accessible through OpenSearch Dashboards. Configuring logging requires an existing [Load Balancer](/cloud/networking/create-and-configure-a-load-balancer).

## Step 1. Open Load Balancer settings

In the **Cloud** menu, select **Networking** and then **Load Balancers**. Click the Load Balancer name to open its settings.

<Frame>
  <img src="https://mintcdn.com/gcore/yrEa6OGy4Q_zWlXb/images/docs/cloud/networking/load-balancers/logging-for-load-balancers/logging-load-balancer-10.png?fit=max&auto=format&n=yrEa6OGy4Q_zWlXb&q=85&s=6470ef4b2d3133cb654af5ad699b82ca" alt="Load Balancers page" width="1333" height="452" data-path="images/docs/cloud/networking/load-balancers/logging-for-load-balancers/logging-load-balancer-10.png" />
</Frame>

## Step 2. Enable logging

Go to the **Logging** tab and turn on the **Enable Logging** toggle.

<Frame>
  <img src="https://mintcdn.com/gcore/yrEa6OGy4Q_zWlXb/images/docs/cloud/networking/load-balancers/logging-for-load-balancers/logging-load-balancer-20.png?fit=max&auto=format&n=yrEa6OGy4Q_zWlXb&q=85&s=61a189a90ac4c4f957b10649ccf1d9a4" alt="Logging tab" width="1090" height="533" data-path="images/docs/cloud/networking/load-balancers/logging-for-load-balancers/logging-load-balancer-20.png" />
</Frame>

## Step 3. Configure logging settings

1\. If no namespace exists for the destination region, the **Create namespace** dialog appears. Enter the namespace name and click **Create**.

<Warning>
  The namespace name cannot be changed after creation.
</Warning>

<Accordion title="What is a namespace">
  Previously, namespaces appeared as non-human-readable strings — `cbc25c71af8d4f7ca6cbbcdc5a4d68fe.your-topic` — used as prefixes for topics. We added support for human-readable namespaces — `namespace123.your-topic` — to make them easier to identify.
</Accordion>

The namespace name must follow these rules:

* Use only lowercase Latin letters and digits
* Spaces and underscores are prohibited
* Length must be between 2–32 characters
* The name must be unique for the destination region

<Frame>
  <img src="https://mintcdn.com/gcore/yrEa6OGy4Q_zWlXb/images/docs/cloud/networking/load-balancers/logging-for-load-balancers/logging-create-namespace.png?fit=max&auto=format&n=yrEa6OGy4Q_zWlXb&q=85&s=f78a224287e5fcefcdce945b58cde888" alt="Create namespace dialog" width="607" height="474" data-path="images/docs/cloud/networking/load-balancers/logging-for-load-balancers/logging-create-namespace.png" />
</Frame>

2\. Select a **Destination region** where the logs will be stored. The available destinations depend on the region of the Load Balancer.

3\. Add a topic. Select an existing one from the list or create a new one. For a new topic, specify the name and the retention period.

<Frame>
  <img src="https://mintcdn.com/gcore/yrEa6OGy4Q_zWlXb/images/docs/cloud/networking/load-balancers/logging-for-load-balancers/logging-namespace.png?fit=max&auto=format&n=yrEa6OGy4Q_zWlXb&q=85&s=092ee511b67eab18d9f3cce79e4cf597" alt="Configure logging settings" width="1400" height="900" data-path="images/docs/cloud/networking/load-balancers/logging-for-load-balancers/logging-namespace.png" />
</Frame>

4\. Click **Save changes**.

The Load Balancer will start sending logs to the topic.

## Throughput test results

The table lists measured log delivery throughput (K RPS) for each source/destination pair, where source is the Load Balancer region and destination is the Managed Logging service location.

| **Source**   | **Destination** | **Measured log delivery throughput, K RPS** |
| ------------ | --------------- | ------------------------------------------- |
| Amsterdam    | Luxembourg      | 9.6                                         |
| Amsterdam-2  | Luxembourg      | 14.4                                        |
| Darmstadt    | Luxembourg      | 16.8                                        |
| Frankfurt    | Luxembourg      | 8                                           |
| Tokyo        | Luxembourg      | 1.6                                         |
| Istanbul     | Luxembourg      | 8.8                                         |
| London       | Luxembourg      | 17.6                                        |
| Luxembourg-2 | Luxembourg      | 12                                          |
| Warsaw       | Luxembourg      | 11.2                                        |
| Paris-2      | Luxembourg      | 14.4                                        |
| Dubai        | Luxembourg      | 17.6                                        |
| Almaty       | Luxembourg      | 16                                          |
| Johannesburg | Luxembourg      | 11.2                                        |
| Newport      | Luxembourg      | 16.8                                        |
| Dubai        | Singapore       | 16.8                                        |
| Almaty       | Singapore       | 12.8                                        |
| Tokyo        | Singapore       | 9.6                                         |
| Singapore    | Singapore       | 14.4                                        |
| Johannesburg | Singapore       | 11.2                                        |
| Sydney       | Singapore       | 10.4                                        |
| Mumbai       | Singapore       | 17.6                                        |
| Hong Kong    | Singapore       | 10.4                                        |
| Chicago      | Manassas        | 8                                           |
| Manassas     | Manassas        | 15.2                                        |
| Santa Clara  | Manassas        | 7.2                                         |
| Sao Paulo    | Manassas        | 14.4                                        |
| Sao Paulo-2  | Manassas        | 16.8                                        |
