Technical Tip: How to collect the logs needed for investigating the Anomaly Detection related issues
| Description | This article describes how to collect the logs needed for investigating the Anomaly Detection issues. |
| Scope | FortiWeb v6.3 and above. |
| Solution | Debug output: Open an SSH session to the FortiWeb and execute the following commands.
diagnose debug reset
Front-end capture: Log in to GUI and go to System -> Network -> Packet Capture, select interface as <VIP interface>', Host IP/Netmask as Client IP, port as <port used in the virtual server>, maximum packet count 10000, and select Save, and select the Triangle button to Run.
Note: Make sure to define the Source NAT IP as the client IP in both debug and capture if the client's IP address gets source NAT along the path.
Reproduce the problem: Take a screenshot of the error seen on the client machine.
Stop the debug and capture: After reproducing the problem, stop the debug and capture.
To stop the debug, run the following commands.
diagnose debug disable
Download the following files from the unit:* Traffic logs.
Attach all the files while raising the ticket so TAC can review them. |



