# Big-IP Load Balancer 17.x

This guide outlines two methods to forward logs from your BIG-IP Load Balancer to a Log collector:

**Method 1 :** Using the configuration utility.

**Method 2 :** Using TMOS Shell

**Prerequisites**

You must meet the following prerequisites to use these procedures:

* System is running BIG-IP 11.x and later.
* The remote **syslog** server(Log Collector) is accessible from your BIG-IP system on the default route domain (Domain 0) or management network, and conversely, your BIG-IP system is accessible from the remote **syslog** server.
* If you want to use a fully qualified domain name (FQDN) for the **syslog** servers, configuration of DNS servers is required.

**Method 1 : Using the configuration utility.**<br>

The Configuration utility provides a basic means of configuring the **syslog** configurations.

1. Log in to the Configuration utility.
2. Go to **System** > **Logs** > **Configuration** > **Remote Logging**.

   <img src="/files/UM0ARqO8aU1tDrGZ15tp" alt="" height="305" width="680">
3. For **Remote IP**, enter the Log Collector IP address, or FQDN. (DNS server configuration required)
4. For **Remote Port**, enter the UDP port (default is 514, however please use the port provided by the team).
5. (Optional) For **Local IP**, enter the local IP address of the BIG-IP system.

   ***Note**: For BIG-IP systems in a high availability (HA) configuration, the non-floating self IP address is recommended if using a Traffic Management Microkernel (TMM) based IP address.*
6. Select **Add**.
7. Select **Update**.
8. For BIG-IP systems in a high availability (HA) configuration, perform a ConfigSync to synchronize the changes to the other devices in the device group.

**Method 2 : Using TMOS Shell.**

To configure extensive **syslog-ng** customizations, you must use the command line

1. Log in to the TMOS Shell (**tmsh**) by entering the following command:

   `tmsh`
2. To add a single remote **syslog** server, use the following command syntax:

   `modify /sys syslog remote-servers add { <name> { host <IP addr or FQDN> remote-port <port> }}`

   For example, to add Log Collector IP **10.154.210.201** with port **514** and name **mysyslog**, enter the following command:

   modify /sys syslog remote-servers add { mysyslog { host 10.154.210.201 remote-port 514 }}

   ***Note**: If you do not enter a port number, the system configures the default port number, **514**.*
3. To save the configuration, enter the following command:

   `save /sys config`

<img src="/files/GgJkenhpXWRZQuf3JTs5" alt="" height="177.5" width="641">

1. For BIG-IP systems in a high availability (HA) configuration, perform a ConfigSync to synchronize the changes to the other devices in the device group.

**Reference**: <https://my.f5.com/manage/s/article/K13080>

**Video link**:

[YouTube](https://www.youtube.com/watch?v=2RQ7p-JdsD0)


---

# 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.blusapphire.io/log-forwarding/03_log-forwarding-guide/log-forward/big-ip-load-balancer-17.x.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.
