Manual Chapter :
Setting Up Application Statistics Collection
Applies To:
Show VersionsBIG-IP Analytics
- 15.0.1, 15.0.0
BIG-IP LTM
- 15.0.1, 15.0.0
BIG-IP AFM
- 15.0.1, 15.0.0
BIG-IP PEM
- 15.0.1, 15.0.0
BIG-IP DNS
- 15.0.1, 15.0.0
BIG-IP ASM
- 15.0.1, 15.0.0
Setting Up Application Statistics Collection
What is Analytics?
Analytics, or Application Visibility and Reporting (AVR), is a module on the
BIG-IP system that you can use to visually analyze the
performance of web applications, TCP traffic, DNS traffic, FastL4, and overall system statistics.
The statistics are displayed in graphical charts where you can drill down into a specific time
range or system aspect to better understand network performance on certain devices, IP addresses,
memory and CPU utilization, and so on. You can further focus the statistics in the charts by
selecting dimension entities such as applications or virtual servers.
For HTTP traffic, Analytics provides detailed metric values such as
transactions per second, server and client latency, request and response throughput, and
sessions. You can view these metrics for specific system dimensions such as: applications,
virtual servers, pool members, transaction outcomes,URLs, specific countries, and additional
detailed statistics about application traffic running through the BIG-IP system.
Transaction counters for response codes, user agents, HTTP methods,
countries, and IP addresses provide statistical analysis of HTTP traffic that is going through
the system. You can capture HTTP traffic for examination, and have the system send alerts so you
can troubleshoot problems and immediately react to sudden changes.
For TCP and FastL4 traffic, reports show details about RTT (round trip
time), goodput, connections, and packets. For TCP, you can also view statistics for delay
analysis. Within these system dimensions, you can display information by the requests side,
applications, virtual servers, remote host IP addresses, subnet addresses, next hops, countries,
cities, continents, or user provided keys (from the TCP::analytics iRule). You can use the
reports to gather information about TCP flows to better understand what is happening on your
network. For example, you could view the charts by applications, then examine RTT averages,
packet loss, and connection length to investigate user complaints about a slowdown.
You specify the type of traffic to monitor using different Analytics
profiles. To view web application statistics, you use an
HTTP
Analytics profile
, and to view TCP or FastL4 statistics, you use a TCP Analytics profile
. Viewing system statistics does not require
an Analytics profile.Using remote logging capabilities with Analytics, your company can
consolidate statistics gathered from multiple BIG-IP appliances onto syslog servers or SIEM
devices, such as Splunk. A report scheduler allows you to periodically send email to users with
specific types of reports that you design.
About HTTP Analytics profiles
An
HTTP Analytics profile
(
) is a set of definitions that determines the circumstances under which the
system gathers, logs, notifies, and graphically displays information regarding traffic to an
application. Each monitored application is associated with an HTTP Analytics profile. You
associate the HTTP Analytics profile with one or more virtual servers used by the application.
Each virtual server can have one HTTP and/or one TCP Analytics profile associated with it.In the HTTP Analytics profile, you can customize:
- Which statistics to collect, and their collection value thresholds
- Location of data collection (locally, remotely, or both)
- Traffic capturing specifications
- Notifications
The BIG-IP system includes a default HTTP Analytics profile called
analytics
. It serves as the parent
of all other HTTP Analytics profiles that you create on the system. You can modify the default
profile, or create custom HTTP Analytics profiles for each application if you want to track
different data for each one. Certain settings, such as SMTP Configuration, Transaction
Sampling, and the Subnets list, can only be set in the default HTTP Analytics profile. displays the HTTP Overview, which shows data for the HTTP activity over a
selected period of time.
Charts shown on the HTTP Overview screen include the application data
saved for all HTTP Analytics profiles associated with iApps application services and virtual
servers on the system. You can filter the HTTP information to reflect data for dimension
entities, such as a specific application or URL.
Overview: Collecting application statistics
This implementation describes how to set up the BIG-IP system to collect
application performance statistics. The system can collect application statistics locally,
remotely, or both. You use these statistics for troubleshooting and improving application
performance.
You can collect application statistics for one or more virtual servers or for an iApps application service. If virtual servers are already configured, you can
specify them when setting up statistics collection. If you want to collect statistics for an
iApps application service, you should first set up statistics collection, creating an HTTP
Analytics profile, and then create the application service.
The system can send alerts regarding the statistics when thresholds are exceeded, and when they
cross back into the normal range. You can customize the threshold values for transactions per
second, latency, page load time, and throughput.
Customizing the
default HTTP Analytics profile
The Application Visibility and Reporting (AVR) module
includes a default HTTP Analytics profile called
analytics
. You can edit the settings
in the default profile so it uses the values you want.Certain
information can be specified only in the default HTTP Analytics profile: the SMTP
configuration (a link to an SMTP server), transaction sampling (whether enabled or
not), and subnets (assigning names to be used in the reports). To edit these values,
you need to open and edit the default profile.
- On the Main tab, click.To have theAnalyticslisted, you need to provision Application Visibility and Reporting (AVR) first.TheProfiles: Analyticsscreen opens.
- Click the profile calledanalytics.The configuration screen for the default HTTP Analytics profile opens.
- For theStatistics Logging Typesetting, verify thatInternalis selected. If it is not, select it.SelectingInternalcauses the system to store statistics locally, and you can view the charts on the system by starting at the Main tab, and clicking .
- To specify certain traffic for the system to capture and log, select one, or both, logging types in theTraffic Capturing Logging Typesetting.If a logging type is selected, you can configure the traffic capturing criteria in theCapture Filterarea at the bottom of the screen. For more information about the dimension and metric options for traffic capturing, seeCapturing traffic for troubleshooting.InternalSpecifies that the system captures a portion of the application traffic which you can then view on thescreen.ExternalSpecifies that the system captures a portion of the application traffic and sends it to a remote server. If you select this option, theRemote Publisheroption is displayed, where you select a log publisher.
- To send email alerts, specify anSMTP Configuration.You can change the SMTP configuration only in the default profile. It is used globally for the system. If no configuration is available, clickCreateto create one.
- For theNotification Typesetting, select how you want the system to send alerts and notifications.SyslogSelectSyslogif you want the system to send notification and alert messages to the local log system. You can view the messages on the screen.SNMPSelectSNMPif you want the system to send notification and alert messages as SNMP traps. You can create the trap by clickingConfiguration can be found here( ). Enabling SNMP automatically sets up Syslog notifications, too.E-mailSelectE-mailif you want the system to send notification and alert messages to email addresses. Type each email address in theNotification E-Mailsfield, and clickAddto create the list. This option requires that the default analytics profile includes an SMTP configuration.When you select a notification type, the screen displays the Alerts and Notifications Configuration area, where you can indicate the criteria for alerts and notifications.
- If you want the system to perform traffic sampling, make sure that forTransaction Samplingarea, theSamplecheck box is selected.You can change this setting only in the default profile.Sampling improves system performance. F5 recommends that you enable sampling if you generally use more than 50 percent of the system CPU resources, or if you have at least 100 transactions in 5 minutes for each entity.
- If you want the system to collect and display statistics, according to the expressions written in an iRule, select theEnablecheck box fromPublish iRule Statistics.When you select this option, iRule statistics are visible per analytics profile. In addition, these iRule events are displayed in near real time (delay of 10 seconds), while statistics in the Configuration utility have a delay of at least 5 minutes. You can view iRule statistics per Analytics profile on the command line by typingISTATS dump.For the system to collect iRule statistics, you must also write an iRule describing which statistics the system should collect.
- In the Associated Virtual Servers area, specify the virtual servers for which to capture application statistics:
- For theVirtual Serverssetting, clickAdd.
- From the Select Virtual Server popup that opens, select the virtual servers to include and then clickDone.
Only virtual servers previously configured with an HTTP profile display in the list (because the data being collected applies to HTTP traffic). Also, you can assign only one HTTP Analytics profile to a virtual server; therefore, the list displays only virtual servers that have not been assigned an Analytics profile.Special considerations apply if using Analytics on a BIG-IP system with both Application Security Manager and Access Policy Manager, where security settings (in Portal Access webtop or an iRule) redirect traffic from one virtual server to another. In this case, you need to attach the HTTP Analytics profile to the second virtual server to ensure that the charts show accurate statistics. - In the Statistics Gathering Configuration area, forCollected Metrics, select additional statistics you want the system to collect from the requests:OptionDescriptionMax TPS and ThroughputCollects and logs statistics regarding the maximum number of transactions occurring per second (TPS) and the amount of traffic moving through the system.Maximum request and response throughput is collected and recorded separately. Each value is then displayed separately when you drill down into details of Transaction Outcomes ().HTTP Timing (RTT, TTFB, Duration)Collects and logs statistics regarding the HTTP request and response times, including round-trip time, time to first byte and overall transaction duration time.Page Load TimeCollects and logs statistics regarding the time it takes an application user to get a complete response from the application, including network latency and completed page processing.End-user response times and latencies can vary significantly based on geographic location and connection types.User SessionsCollects and logs statistics regarding the number of unique user sessions. ForTimeout, select the allowed minutes of user inactivity before the system considers the session to be over.ForCookie Secure Attribute, specify whether to secure session cookies:
- Always, the secure attribute is always added to the session cookie.
- Never, the secure attribute is never added to the session cookie.
- Only SSL, the secure attribute is added to the session cookie only when the virtual server has a client SSL profile (the default value).
By default, the system collects many metrics, including TPS, throughput, server latency, response time, network latency. You can select the metrics here, in addition to the ones already collected, once the Analytics profile is attached to one or more virtual servers. - In the Statistics Gathering Configuration area, forCollected Entities, select additional entities to collect statistics for each request.By default, the system collects many entity statistics, including virtual servers, pool members, browser names, operating system, and so on. You can select the ones here in addition to the ones already collected once the Analytics profile is attached to one or more virtual servers.When you selectURLs,Countries,Client IP AddressesorClient Subnetsyou have additional options configure specific statistics filtering options.OptionDescriptionURLsSaves the URLs that were requested.CountriesSaves the name of the country where the request came from, and is based on the client IP address criteria.Client IP AddressesSaves the IP address where the request originated. The address saved also depends on whether the request has an XFF (X-forwarded-for) header and whether the HTTP profile accepts XFF headers.Client SubnetsSaves statistics for predefined client subnets. Client subnets can be added in the Subnets area of the default HTTP Analytics profile.Response CodesSaves HTTP response codes that the server returned in response to requests.User AgentsSaves information about browsers making the request.MethodsSaves HTTP methods in requests.OS and BrowsersSaves information about the operating system and browser making the request.
- In the Statistics Gathering Configuration area, forCollect URLs, you can configure whether the system collects traffic from all or from specific URLs.
- SelectAllto collect traffic from all URLs.By default, the system collects traffic from all URLs, when you selectURLsfrom theCollected Entitieslist.
- SelectOnlyto collect traffic from specific URLs.
- Specify the URLs for which to capture traffic and clickAdd. You can add up to 10 URLs to the list.If you selectOnlyand leave the list empty, the system collects traffic data from all URLs.
- In the Statistics Gathering Configuration area, forCollect Countries, you can configure whether the system collects traffic from all or from specific countries.
- SelectAllto collect traffic from all countries.By default, the system collects traffic from all countries, when you selectCountriesfrom theCollected Entitieslist.
- SelectOnlyto collect traffic from specific countries.
- Specify the countries for which to capture traffic. Select from the Available Countries list and use the arrow keys to move each country to the Selected Countries list. You can add up to 10 countries to the Selected list.If you selectOnlyand leave the list empty, the system collects traffic data from all countries.
- In the Statistics Gathering Configuration area, forCollect Client IP Addresses, you can configure whether the system collects traffic from all or from specific client IPs.
- SelectAllto collect traffic from all client IP addresses.By default, the system collects traffic from all client IPs, when you selectClient IP Addressesfrom theCollected Entitieslist.
- SelectOnlyto collect traffic from specific client IP addresses.
- Specify the client IP addresses for which to capture traffic and clickAdd. You can add up to client IP addresses to the list.If you selectOnlyand leave the list empty, the system collects traffic data from all client IP addresses.
- In the Statistics Gathering Configuration area, forCollect Client Subnets, you can configure whether the system collects traffic from all or from specific client subnet IPs.
- SelectAllto collect traffic from all subnets.By default, the system collects traffic from all subnets, when you selectClient Subnetsfrom theCollected Entitieslist.
- SelectOnlyto collect traffic from specific subnets.
- Specify the subnet IPs for which to capture traffic and clickAdd. You can add up to 10 subnet IPs to the list.You can filter the listed subnets by one type of IP protocol. Adding both IPv4 and IPv6 protocols results in an error.If you selectOnlyand leave the list empty, the system collects traffic data from all subnets.
- If you are collecting statistics for Client Subnets, you can configure in theSubnetsarea the name the subnets so the reports show a name (such as a department name) instead of an IP address.
- In theSubnetsarea, type a name in theNamefield, and in theIP/Maskfield, type the IP address of the subnet.
- ClickAdd.
The subnets are added to the list of Active Subnets. If displaying relevant data, the names of the subnets appear in the Analytics statistics. - ClickUpdateto save your changes.
Statistics are collected for traffic going to the virtual servers specified in this
profile.
You can create new HTTP Analytics profiles if you
need to. New Analytics profiles inherit their values from the default Analytics profile.
You can modify the values in the new profiles (except the ones that are set only in the
default profile such as SMTP configuration). For example, you might want to send reports
about two different applications to different managers. So you could have different
emails listed in the notification type settings in two Analytics profiles.
Collecting application statistics locally
You need to provision the Application
Visibility and Reporting (AVR) module before you can collect application
statistics locally.
You can configure the BIG-IP system to
collect specific application statistics locally.
- On the Main tab, click.IfAnalyticsis not listed, this indicates that Application Visibility and Reporting (AVR) is not provisioned, or you do not have rights to create profiles.The HTTP Analytics screen opens.
- ClickCreate.The New HTTP Analytics profile screen opens.
- In theProfile Namefield, type a unique name for the Analytics profile.
- From theParent Profilelist, select the profile from which you want to inherit settings.The default profile is often used as the parent profile.The new profile inherits the values from the parent profile. If the parent is changed, the inherited values in the new profile also change.
- Select theCustomcheck box.
- For theStatistics Logging Typesetting, verify thatInternalis selected. If it is not, select it.SelectingInternalcauses the system to store statistics locally, and you can view the charts on the system by starting at the Main tab, and clicking .
- You can use the default values for the rest of the General Configuration settings.
- In the Associated Virtual Servers area, specify the virtual servers for which to capture application statistics:
- For theVirtual Serverssetting, clickAdd.
- From the Select Virtual Server popup that opens, select the virtual servers to include and then clickDone.
Only virtual servers previously configured with an HTTP profile display in the list (because the data being collected applies to HTTP traffic). Also, you can assign only one HTTP Analytics profile to a virtual server; therefore, the list displays only virtual servers that have not been assigned an Analytics profile.Special considerations apply if using Analytics on a BIG-IP system with both Application Security Manager and Access Policy Manager, where security settings (in Portal Access webtop or an iRule) redirect traffic from one virtual server to another. In this case, you need to attach the HTTP Analytics profile to the second virtual server to ensure that the charts show accurate statistics. - In the Statistics Gathering Configuration area, select theCustomcheck box.
- In the Statistics Gathering Configuration area, forCollected Metrics, select additional statistics you want the system to collect from the requests:OptionDescriptionMax TPS and ThroughputCollects and logs statistics regarding the maximum number of transactions occurring per second (TPS) and the amount of traffic moving through the system.Maximum request and response throughput is collected and recorded separately. Each value is then displayed separately when you drill down into details of Transaction Outcomes ().HTTP Timing (RTT, TTFB, Duration)Collects and logs statistics regarding the HTTP request and response times, including round-trip time, time to first byte and overall transaction duration time.Page Load TimeCollects and logs statistics regarding the time it takes an application user to get a complete response from the application, including network latency and completed page processing.End-user response times and latencies can vary significantly based on geographic location and connection types.User SessionsCollects and logs statistics regarding the number of unique user sessions. ForTimeout, select the allowed minutes of user inactivity before the system considers the session to be over.ForCookie Secure Attribute, specify whether to secure session cookies:
- Always, the secure attribute is always added to the session cookie.
- Never, the secure attribute is never added to the session cookie.
- Only SSL, the secure attribute is added to the session cookie only when the virtual server has a client SSL profile (the default value).
By default, the system collects many metrics, including TPS, throughput, server latency, response time, network latency. You can select the metrics here, in addition to the ones already collected, once the Analytics profile is attached to one or more virtual servers. - In the Statistics Gathering Configuration area, forCollected Entities, select additional entities to collect statistics for each request.By default, the system collects many entity statistics, including virtual servers, pool members, browser names, operating system, and so on. You can select the ones here in addition to the ones already collected once the Analytics profile is attached to one or more virtual servers.When you selectURLs,Countries,Client IP AddressesorClient Subnetsyou have additional options configure specific statistics filtering options.OptionDescriptionURLsSaves the URLs that were requested.CountriesSaves the name of the country where the request came from, and is based on the client IP address criteria.Client IP AddressesSaves the IP address where the request originated. The address saved also depends on whether the request has an XFF (X-forwarded-for) header and whether the HTTP profile accepts XFF headers.Client SubnetsSaves statistics for predefined client subnets. Client subnets can be added in the Subnets area of the default HTTP Analytics profile.Response CodesSaves HTTP response codes that the server returned in response to requests.User AgentsSaves information about browsers making the request.MethodsSaves HTTP methods in requests.OS and BrowsersSaves information about the operating system and browser making the request.
- In the Statistics Gathering Configuration area, forCollect URLs, you can configure whether the system collects traffic from all or from specific URLs.
- SelectAllto collect traffic from all URLs.By default, the system collects traffic from all URLs, when you selectURLsfrom theCollected Entitieslist.
- SelectOnlyto collect traffic from specific URLs.
- Specify the URLs for which to capture traffic and clickAdd. You can add up to 10 URLs to the list.If you selectOnlyand leave the list empty, the system collects traffic data from all URLs.
- In the Statistics Gathering Configuration area, forCollect Countries, you can configure whether the system collects traffic from all or from specific countries.
- SelectAllto collect traffic from all countries.By default, the system collects traffic from all countries, when you selectCountriesfrom theCollected Entitieslist.
- SelectOnlyto collect traffic from specific countries.
- Specify the countries for which to capture traffic. Select from the Available Countries list and use the arrow keys to move each country to the Selected Countries list. You can add up to 10 countries to the Selected list.If you selectOnlyand leave the list empty, the system collects traffic data from all countries.
- In the Statistics Gathering Configuration area, forCollect Client IP Addresses, you can configure whether the system collects traffic from all or from specific client IPs.
- SelectAllto collect traffic from all client IP addresses.By default, the system collects traffic from all client IPs, when you selectClient IP Addressesfrom theCollected Entitieslist.
- SelectOnlyto collect traffic from specific client IP addresses.
- Specify the client IP addresses for which to capture traffic and clickAdd. You can add up to client IP addresses to the list.If you selectOnlyand leave the list empty, the system collects traffic data from all client IP addresses.
- In the Statistics Gathering Configuration area, forCollect Client Subnets, you can configure whether the system collects traffic from all or from specific client subnet IPs.
- SelectAllto collect traffic from all subnets.By default, the system collects traffic from all subnets, when you selectClient Subnetsfrom theCollected Entitieslist.
- SelectOnlyto collect traffic from specific subnets.
- Specify the subnet IPs for which to capture traffic and clickAdd. You can add up to 10 subnet IPs to the list.You can filter the listed subnets by one type of IP protocol. Adding both IPv4 and IPv6 protocols results in an error.If you selectOnlyand leave the list empty, the system collects traffic data from all subnets.
- ClickFinished.
The BIG-IP system collects the
statistics specified in the Analytics profile. You can view the statistics
by clicking
.Collecting
application statistics remotely
You need to provision the Application
Visibility and Reporting (AVR) module before you can collect application
statistics remotely. To specify where the BIG-IP system sends log messages
remotely, you must have set up logging and created a publisher.
You can configure the BIG-IP system
to collect application statistics and store them remotely on Syslog servers
or SIEM devices, such as Splunk.
- On the Main tab, click.IfAnalyticsis not listed, this indicates that Application Visibility and Reporting (AVR) is not provisioned, or you do not have rights to create profiles.The HTTP Analytics screen opens.
- ClickCreate.The New HTTP Analytics profile screen opens.
- In theProfile Namefield, type a unique name for the Analytics profile.
- Select theCustomcheck box.
- For theStatistics Logging Typesetting, select theExternalcheck box.TheRemote Publishersetting displays, below theTraffic Capturing Logging Typesetting.
- If you want the system to capture traffic, for theTraffic Capturing Logging Typesetting, specify whether to store the traffic locally or on a remote server.InternalSpecifies that the system captures a portion of traffic and stores it locally. You can view the captured data on thescreen.ExternalSpecifies that the system captures a portion of traffic and stores it on a remote server.When you select Traffic Capturing Logging Type, the screen displays the Capture Filter area, where you can indicate exactly what information to sample and log.
- From theRemote Publisherlist, select the publisher that includes the destination to which you want to send log messages.Refer toExternal Monitoring of BIG-IP Systems: Implementationsfor details.
- If you want the system to send email notifications, review theSMTP Configurationfield to ensure that a configuration is specified and not the valueNone.You can configure SMTP only in the default Analytics profile. If it is not configured, you can save the profile and edit the default profile where you can select an existing SMTP configuration or create a new one. (If you click theanalyticslink without saving the new profile you are working on, you will lose the unsaved changes.)
- For theNotification Typesetting, select how you want the system to send alerts and notifications.SyslogSelectSyslogif you want the system to send notification and alert messages to the local log system. You can view the messages on the screen.SNMPSelectSNMPif you want the system to send notification and alert messages as SNMP traps. You can create the trap by clickingConfiguration can be found here( ). Enabling SNMP automatically sets up Syslog notifications, too.E-mailSelectE-mailif you want the system to send notification and alert messages to email addresses. Type each email address in theNotification E-Mailsfield, and clickAddto create the list. This option requires that the default analytics profile includes an SMTP configuration.When you select a notification type, the screen displays the Alerts and Notifications Configuration area, where you can indicate the criteria for alerts and notifications.
- In the Associated Virtual Servers area, specify the virtual servers for which to capture application statistics:
- For theVirtual Serverssetting, clickAdd.
- From the Select Virtual Server popup that opens, select the virtual servers to include and then clickDone.
Only virtual servers previously configured with an HTTP profile display in the list (because the data being collected applies to HTTP traffic). Also, you can assign only one HTTP Analytics profile to a virtual server; therefore, the list displays only virtual servers that have not been assigned an Analytics profile.Special considerations apply if using Analytics on a BIG-IP system with both Application Security Manager and Access Policy Manager, where security settings (in Portal Access webtop or an iRule) redirect traffic from one virtual server to another. In this case, you need to attach the HTTP Analytics profile to the second virtual server to ensure that the charts show accurate statistics. - In the Statistics Gathering Configuration area, forCollected Metrics, select additional statistics you want the system to collect from the requests:OptionDescriptionMax TPS and ThroughputCollects and logs statistics regarding the maximum number of transactions occurring per second (TPS) and the amount of traffic moving through the system.Maximum request and response throughput is collected and recorded separately. Each value is then displayed separately when you drill down into details of Transaction Outcomes ().HTTP Timing (RTT, TTFB, Duration)Collects and logs statistics regarding the HTTP request and response times, including round-trip time, time to first byte and overall transaction duration time.Page Load TimeCollects and logs statistics regarding the time it takes an application user to get a complete response from the application, including network latency and completed page processing.End-user response times and latencies can vary significantly based on geographic location and connection types.User SessionsCollects and logs statistics regarding the number of unique user sessions. ForTimeout, select the allowed minutes of user inactivity before the system considers the session to be over.ForCookie Secure Attribute, specify whether to secure session cookies:
- Always, the secure attribute is always added to the session cookie.
- Never, the secure attribute is never added to the session cookie.
- Only SSL, the secure attribute is added to the session cookie only when the virtual server has a client SSL profile (the default value).
By default, the system collects many metrics, including TPS, throughput, server latency, response time, network latency. You can select the metrics here, in addition to the ones already collected, once the Analytics profile is attached to one or more virtual servers. - In the Statistics Gathering Configuration area, forCollected Entities, select additional entities to collect statistics for each request.By default, the system collects many entity statistics, including virtual servers, pool members, browser names, operating system, and so on. You can select the ones here in addition to the ones already collected once the Analytics profile is attached to one or more virtual servers.When you selectURLs,Countries,Client IP AddressesorClient Subnetsyou have additional options configure specific statistics filtering options.OptionDescriptionURLsSaves the URLs that were requested.CountriesSaves the name of the country where the request came from, and is based on the client IP address criteria.Client IP AddressesSaves the IP address where the request originated. The address saved also depends on whether the request has an XFF (X-forwarded-for) header and whether the HTTP profile accepts XFF headers.Client SubnetsSaves statistics for predefined client subnets. Client subnets can be added in the Subnets area of the default HTTP Analytics profile.Response CodesSaves HTTP response codes that the server returned in response to requests.User AgentsSaves information about browsers making the request.MethodsSaves HTTP methods in requests.OS and BrowsersSaves information about the operating system and browser making the request.
- If one of theTraffic Capturing Logging Typecheck boxes is selected, in the Capture Filter area, adjust the settings to specify criteria to determine what application traffic to capture.You can use the captured information for troubleshooting purposes.
- ClickFinished.
The BIG-IP system collects statistics
regarding application traffic described by the Analytics profile and stores
the statistics on a separate remote management system, where you can view
the information.
Getting application performance alerts
Before you can configure the system to send alerts concerning statistics, you need
to have created an Analytics profile to collect application statistics locally
(
Statistics Logging Type
must have
Internal
selected). To set up email alerts, the default
analytics
profile must specify an SMTP
configuration.You can configure the BIG-IP system to send alerts concerning
local application statistics based on threshold values that you set. The system sends
notifications when threshold values are breached, and when they return to normal.
Therefore, it is a good idea to get familiar with the typical statistics for the web
application before attempting to set up alerts and notifications. When you understand
the typical values, you can configure the system to alert you of limiting system
situations, such as system overload.
End user response times and
latencies can vary significantly based on geography and connection types, which
makes it difficult to set an accurate alerting threshold for page load times.
- On the Main tab, click.To have theAnalyticslisted, you need to provision Application Visibility and Reporting (AVR) first.TheProfiles: Analyticsscreen opens.
- Click the name of a previously created Analytics profile, or create a new one.
- Select theCustomcheck box.
- For theStatistics Logging Typesetting, verify thatInternalis selected. If it is not, select it.SelectingInternalcauses the system to store statistics locally, and you can view the charts on the system by starting at the Main tab, and clicking .
- To send email alerts, specify anSMTP Configuration(this can only be done on the defaultanalyticsprofile).If you created a new profile, configure SMTP later.
- For theNotification Typesetting, select how you want the system to send alerts and notifications.SyslogSelectSyslogif you want the system to send notification and alert messages to the local log system. You can view the messages on the screen.SNMPSelectSNMPif you want the system to send notification and alert messages as SNMP traps. You can create the trap by clickingConfiguration can be found here( ). Enabling SNMP automatically sets up Syslog notifications, too.E-mailSelectE-mailif you want the system to send notification and alert messages to email addresses. Type each email address in theNotification E-Mailsfield, and clickAddto create the list. This option requires that the default analytics profile includes an SMTP configuration.When you select a notification type, the screen displays the Alerts and Notifications Configuration area, where you can indicate the criteria for alerts and notifications.
- In the Alerts and Notifications Configuration area, for theAdd New Rulesetting, define the rules that determine when the system sends alerts. Note that you cannot add overlapping rules, for example, two rules that request an alert when average TPS is greater than100and greater than50for200seconds.
- ForAlert when, select the condition under which you want to send an alert.
- Selectbeloworabove, type an integer that represents the threshold value, and type the number of seconds (an integer,300or greater,) during which the rule has to apply.
- Select the granularity level to which the threshold applies: traffic sent to anApplication, aVirtual Server, or aPool Member.
- ClickAdd.The rule is added to the list of Active Rules.
Continue to add as many rules as you want to specify conditions under which you want to be alerted. - ClickUpdate.
- If SNMP is not configured on the BIG-IP system and you want to send SNMP traps, configure it now:
- In the General Configuration area, for theNotification Typesetting, next toSNMP, click the link.The SNMP Traps Destination screen opens.
- ClickCreate.
- Configure the version, community name, destination IP address, and port.
- ClickFinished.
- If you need to configure SMTP (if sending alerts by email), click the defaultanalyticsprofile on the Profiles: Analytics screen.
- ForSMTP Configuration, select an existing configuration.
- If no SMTP configurations are listed, click theherelink to create one. When you are done, you need to select the configuration you created in the defaultanalyticsprofile.
Based on the rules you configured and the notification type, the system sends an
alert when thresholds are breached and when they cross back from the threshold.
Creating an SMTP server configuration
You specify the SMTP server configuration so that you can send emails through an
SMTP server.
- On the Main tab, click.
- Click theCreatebutton.The New SMTP Configuration screen opens.
- In theNamefield, type a name for the SMTP server that you are creating.
- In theSMTP Server Host Namefield, type the fully qualified domain name for the SMTP server host.
- In theSMTP Server Port Numberfield, type a port number.For no encryption or TLS encryption, the default is25. For SSL encryption, the default is465.
- In theLocal Host Namefield, type the host name used in the SMTP headers in the form of a fully qualified domain name.This host name is not the same as the BIG-IP system's host name.
- In theFrom Addressfield, type the email address that you want displayed as the reply-to address for the email.
- From theEncrypted Connectionlist, select the encryption level required for the SMTP server.
- To require that the SMTP server validates users before allowing them to send email, select theUse Authenticationcheck box, and type the user name and password required to validate the user.
- Click theFinishbutton.
You can now configure the system to
use this SMTP server to send emails. For the SMTP mailer to work, you must make sure the
SMTP server is on the DNS lookup server list, and configure the DNS server on the BIG-IP system.