Troubleshooting Tip: FortiADC-Report displays information just from top-5 links with more bandwidth/sessions consumption
| Description | This article describes the feature of FortiADC to generate reports based on the log messages that FortiADC has recorded. Those include the information of the LLB (LinkLoadBalance) solution that displays the bandwidth or the number of sessions handled for each GatewayLink.
Even more than 5 gateway-links were configured, the FortiADC-Report will display just the information of the top-5 with more bandwidth or session consumption though. |
| Scope | FortiADC. |
| Solution | Before it can generate a report, FortiADC appliances require a report profile that indicates the settings that the appliance should use, such as the report name, file format, subject matter, and other aspects. FortiADC appliances can generate reports automatically, according to the schedule configured in the report profile, or manually, clicking the Run now icon in the report profile list. Note: Generating reports can be resource-intensive. To avoid traffic processing performance impacts, is recommended to generate reports during times with low traffic volume, such as at night or weekends. In this example, it was configured 11 gateway-links: config link-load-balance gateway edit "Gateway_AZTECA" set ip 181.225.xxx.xxx edit "Gateway_INTERNEXA" set ip 179.1.xxx.xxx edit "Gateway_ETB" set ip 201.245.xxx.xxx edit "Gateway_CIRION" set ip 190.216.xxx.xxx edit "Gateway_TELEFONICA" set ip 190.254.xxx.xxx edit "Gateway_CIRION_UNIVIDEO" set ip 204.199.xxx.xxx edit "Gateway_TELEFONICA_UNIVIDEO" set ip 190.255.XXX.XXX edit "GATEWAY-AZTECA-181.225.xxx.xxx" set ip 181.225.xxx.xxx edit "GATEWAY-AZTECA-181.225.xxx.xxx" set ip 181.225.xxx.XXX edit "GATEWAY-CIRION-190.216.xxx.xxx" set ip 190.216.xxx.xxx edit "GATEWAY-CIRION-190.216.xxx.xxx" set ip 190.216.xxx.xxx end Since the report collects the information from the local-logging, in this case LLB category must be enabled to get the info of LLB into the FortiADC-Report. For example: config log setting local set status enable set rotation-size 200 set disk-full overwrite set loglevel debug set event-log-status enable set event-log-category configuration admin health_check system user slb llb glb fw set traffic-log-status enable set traffic-log-category slb dns llb end Configure the log-report-query: config log report_queryset edit "LLB-Top-Link-by-Bytes" set module llb set traffic_sort_type bytes set llb_subtype top_link next end Bind the log-report-query profile to the log-report profile: config log report edit "REPORTE_CONSUMO_ADC" set on-schedule enable set queryset LLB-Top-Link-by-Bytes LLB-History-Flow-By-Bytes DNS-Top-Source-by-Count ... set email-format pdf unset email-subject unset email-body unset email-attachname set email-compress enable set period-relative today set schedule-type daily set schedule-hour 12 next end Note: On-demand reports are generated immediately. Scheduled reports are generated at intervals set in the schedule. To generate a report immediately:
![]() Related documents: |
