---
id: f5-big-ip-ltm
title: F5 BIG-IP Local Traffic Manager
sidebar_label: F5 - BIG-IP LTM
description: The F5 - BIG-IP Local Traffic Manager (LTM) app helps you optimize and secure network traffic patterns coming into your data center using the F5 BIG-IP platform.
slug: /help/docs/integrations/security-threat-detection/f5-big-ip-ltm/
canonical: https://www.sumologic.com/help/docs/integrations/security-threat-detection/f5-big-ip-ltm/
---
import useBaseUrl from '@docusaurus/useBaseUrl';
The F5 - BIG-IP Local Traffic Manager (LTM) app helps you optimize and secure network traffic patterns coming into your data center using the F5 BIG-IP platform.
The Sumo Logic app for F5 - BIG-IP Local Traffic Manager (LTM) helps you optimize and secure network traffic patterns coming into your data center using the F5 BIG-IP platform. This app analyzes traffic flowing through the F5 Local Traffic Manager (LTM) and automatically detects threats using Sumo Logic Threat Intel. The Sumo Logic app for F5 - BIG-IP LTM provides pre-configured dashboards that allow you to monitor traffic details by application, facility, pool, active and non-responding hosts, connections, and logins. It also reports LTM CPU, disk usage, and outliers in LTM activities and traffic patterns.
## Log types
The F5 - BIG-IP Local Traffic Manager (LTM) app uses event logs with payloads, as described in this [document.](https://clouddocs.f5.com/products/extensions/f5-telemetry-streaming/latest/output-example.html#ltm-request-log)
### Sample log messages
```json title="LTM Request Log"
{
"event_source":"request_logging",
"event_timestamp":"2019-01-01:01:01.000Z",
"hostname":"hostname",
"client_ip":"192.0.2.42",
"server_ip":"",
"http_method":"GET",
"http_uri":"/",
"virtual_name":"/Common/app.app/app_vs",
"tenant":"Common",
"application":"app.app",
"telemetryEventCategory": "LTM"
}
```
### Sample queries
The following query sample is from the **F5 - BIG-IP LTM - Overview** Dashboard, **Pool Status** panel.
```sumo
_sourceCategory=f5/bigip/ltm systemInfo
| json field=_raw "telemetryEventCategory" as telemetryEventCategory
| json field=_raw "virtualServers"
| parse regex field=virtualServers "name\"\:\"(?[\S]+?)\"" multi
| parse regex field=virtualServers "enabledState\"\:\"(?[\S]+?)\"" multi
| parse regex field=virtualServers "application\"\:\"(?[\S]+?)\"" multi
| parse regex field=virtualServers "availabilityState\"\:\"(?[\S]+?)\"" multi
| parse regex field=virtualServers "tenant\"\:\"(?[\S]+?)\"" multi
| parse regex field=virtualServers "pool\"\:\"(?[\S]+?)\"" multi
| parse regex field=virtualServers "destination\"\:\"(?[\S]+?)\"" multi
| parse regex field=virtualServers "clientside.curConns\"\:(?[\S]+?)\," multi
| parse regex field=virtualServers "clientside.bitsOut\"\:(?[\S]+?)\," multi
| count by virtualServer_name, pool, application, enabledState, availabilityState
```
## Collecting logs for the F5 - BIG-IP LTM app
This section provides instructions for collecting logs for the F5 - BIG-IP LTM App, as well as a sample log message and query sample.
### Collection overview
The following image provides a high-level view of the F5 - BIG-IP LTM collection process using the [Telemetry Streaming](https://clouddocs.f5.com/products/extensions/f5-telemetry-streaming/latest/).
Telemetry Streaming (TS) is a software RPM file. Installing it on BIG-IP enables you to declaratively aggregate, normalize, and forward statistics and events from the BIG-IP to a consumer application by posting a single TS JSON declaration to TS’s declarative REST API endpoint.
Telemetry Streaming uses a declarative model, meaning you provide a JSON declaration rather than a set of imperative commands. For more information on Telemetry Streaming, see [here](https://clouddocs.f5.com/products/extensions/f5-telemetry-streaming/latest/).
### Configure log collection for the F5 - BIG-IP LTM app
#### Prerequisite
1. Install [AS3 RPM](https://clouddocs.f5.com/products/extensions/f5-appsvcs-extension/latest/userguide/installation.html). The [Application Services 3 (AS3)](https://clouddocs.f5.com/products/extensions/f5-appsvcs-extension/latest/) extension is a mechanism for declaratively configuring application-specific resources on a BIG-IP system. This involves posting a JSON declaration to the system’s API endpoint, `https://< BIG-IP>/mgmt/shared/appsvcs/declare`.
2. Install Telemetry Streaming RPM (download from [here](https://github.com/F5Networks/f5-telemetry-streaming/releases)).
* Login to F5 (user admin, password from the above output), navigate to the Main tab, **iApps > Package Management LX > Import**.
* Select the downloaded file and click **Upload** to upload Telemetry Streaming RPM. For more information on installing TS RPM, see [here](https://clouddocs.f5.com/products/extensions/f5-telemetry-streaming/latest/installation.html).
3. Enable AVR. To enable the AVR, follow the steps below:
* Go to **System > Resource Provisioning.**
* Enable Application Visibility and Reporting (AVR)
* Click **Submit.**
### Collection Setup
Perform the following tasks to configure log collection for the F5 - BIG-IP LTM App.
#### Step 1: Create a Sumo Logic Hosted Collector
1. Configure a Hosted Collector in Sumo Logic using [these instructions](/docs/send-data/hosted-collectors/configure-hosted-collector).
2. Add an [HTTP source](/docs/send-data/hosted-collectors/http-source/logs-metrics), configuring the Source Category with the string f5 in it (e.g., “f5/ltm”). Make a note of the URL for the HTTP source, as you will need it in the following steps. The URL for our example is: `https://collectors.us2.sumologic.com/receiver/v1/http/test-endpoint`.
#### Step 2: Use AS3 Declarative language to define a logging profile on BIG-IP
Download [AS3Listener.json from here](https://sumologic-app-data.s3.us-east-1.amazonaws.com/F5LTM/V1/AS3Listener.json), and we will use it to define the logging profile on BIG IP.
Use the following curl command to set logging profile at BIG-IP. Replace `BIG-IP PWD`, `BIG-IP IP`, and `PORT` in the following command:
```bash
curl -k --user admin: -H "Accept: application/json" -H "Content-Type:application/json" -X POST -d@AS3Listener.json https://:/mgmt/shared/appsvcs/declare | python -m json.tool
```
#### Step 3: Sumo Logic Consumer Set up using Telemetry
Download the Sumo Logic `sumo.json` [here](https://sumologic-app-data.s3.us-east-1.amazonaws.com/F5LTM/V1/sumo..json), and replace `SUMOLOGIC_HOST` and `SUMOLOGIC_SECRET_KEY` with values from Sumo Logic HTTP URL created in step 1.
Example: For the Sumo Logic HTTP URL `https://collectors.us2.sumologic.com/receiver/v1/http/test-endpoint`, the above values are as follows:
* `SUMOLOGIC_HOST`. `collectors.us2.sumologic.com`
* `SUMOLOGIC_SECRET_KEY`. `test-endpoint`
Now, using telemetry, we will define a [Sumo Logic sink](https://clouddocs.f5.com/products/extensions/f5-telemetry-streaming/latest/setting-up-consumer.html#sumo-logic). This will enable us to forward statistics and events from the BIG-IP to Sumo Logic. Use the following curl command and replace `BIG-IP PWD`, `BIG-IP IP`, and `PORT`.
```bash
curl -k --user admin: -H "Accept: application/json" -H "Content-Type:application/json" -X POST -d@sumo.json https://:3/mgmt/shared/telemetry/declare | python -m json.tool
```
:::note
Contact F5 support team if the above curl commands return an error.
:::
#### Step 4: Associate logging profiles with virtual servers
To begin collecting telemetry, the logging profiles (LTM and ASM) created by AS3 in [step 2](#step-2-use-as3-declarative-language-to-define-a-logging-profile-on-big-ip) need to be assigned to the BIG-IP virtual server(s).
Follow the below steps to associate LTM logging profile:
1. From the BIG-IP console UI, navigate to **Local Traffic** > **Virtual Servers** > **Virtual Server List**.
1. Select and open the virtual server(s) to update their properties. In the **Configuration** dropdown, change the virtual server configuration setting from **Basic** to **Advanced** to expose the logging properties.
1. In the **Request Logging Profile**, select the previously created LTM logging profile to the virtual server(s).
1. Click **Update** to save the changes.
Follow the below steps to associate ASM logging profile:
1. After assigning the LTM logging profile to the virtual server, navigate to the **Security** tab and select **Policies** to access the virtual server’s security policy settings.
1. In the **Log Profile**, enable logging and assign the previously created ASM logging profile.
1. Click **Update** to save the configuration changes.
## Installing the F5 - BIG-IP LTM app
import AppInstall2 from '../../reuse/apps/app-install-v2.md';
## Viewing F5 - BIG-IP LTM dashboards
import ViewDashboards from '../../reuse/apps/view-dashboards.md';
### Overview
The **F5 - BIG-IP LTM - Overview** dashboard provides details on the network traffic for applications, pools, and its status. It also provides information about violations triggered and their geo-location.
Use this dashboard to:
* View geographic locations of incoming client requests.
* Get a high-level view of top pools, pool status, and pool names by the application.
* Review applications responsible for network traffic, their facilities, as well as profiles per virtual server by the application.
### Threat Analysis
the **F5 - BIG-IP LTM - Threat Analysis** dashboard provides an overview of the number of threats, their geographic location, and a breakdown by source using the Threat Intel app. This dashboard also provides details on the severity of threats, as well as the network, user name, and country of origin.
Use this dashboard to:
* Review details on potential threats and IOCs for incoming requests to F5 LTM.
* See the frequency of IP threats by actor, log source, and malicious confidence.
* View trends over time.
### Metrics and Connections
The **F5 - BIG-IP LTM - Metrics and Connections** dashboard provides an at-a-glance view of TCP connections, network traffic by host, and Traffic Manager resource usage.
Use this dashboard to:
* Review details of incoming TCP connection requests.
* Get a high-level analysis of network traffic.
* Get an overview of CPU and memory usage.
* Drill down for a view granular metrics by host using the **Host** filter.
### Outlier Analysis
The **F5 - BIG-IP LTM - Outlier Analysis** dashboard provides an at-a-glance view of TCP connection and login request outliers, along with network traffic and Traffic Manager resource usage.
**Use this dashboard to** find any outliers in your incoming traffic, CPU, and memory usage.
### User Session Events
The **F5 - BIG-IP LTM - User Session Events** dashboard provides an at-a-glance view of user activity and their geographic location. This dashboard also provides information on login trends, operating systems used, user session IDs, and users by their application profile.
Use this dashboard to:
* View the geographic location of active users.
* Review information on browsers and platforms used, and network traffic details.
* Review user requests and application access by users.
## Upgrade/Downgrade the F5 - BIG-IP LTM app (Optional)
import AppUpdate from '../../reuse/apps/app-update.md';
## Uninstalling the F5 - BIG-IP LTM app (Optional)
import AppUninstall from '../../reuse/apps/app-uninstall.md';