Use the Rule Profiler
Before you begin
Procedure
Step 1 | From the management center, choose . | ||
Step 2 | Click the Rule Profiling tab. | ||
Step 3 | From the Select device for Rule Profiling drop-down list, choose a device for rule profiling.
| ||
Step 4 | To start a rule profiling session, click Start. (The session automatically stops after 120 minutes.) You can stop the profiling session at any time by clicking Stop. However, canceling it before the scheduled 120 minutes might not give precise results.
The latest profiling result is automatically displayed in the Rule Profiling Results section. The table contains statistics for the rules that took the most time to process (sorted in descending order) by the total time (in microseconds [µs]). You can view the IPS rule profiler output in tabular format:
| ||
Step 5 | (Optional) Click Download Snapshot to download the profiling result. The downloaded file is in CSV format and contains all the fields from the profiling results page. | ||
Step 6 | (Optional) Click the Filter by % of Snort time toggle button to filter out rules whose execution took more than n% of the profiling time. In general, a rule is considered as performing unsatisfactorily if it consumes 0.2% or more of Snort’s overall processing time. | ||
Step 7 | (Optional) Use the Search field to search through the fields in the Rule Profiling Results table. | ||
Step 8 | (Optional) Click the Rule Profiling History section (collapsible panel on the left) to expand it and view a set of cards representing the previous profiling sessions for a chosen device. When you click a card from the history, the details are displayed in the Rule Profiling Results section. |
Note | If you initiate a deployment while rule profiling is running, the profiling session is automatically terminated to accommodate the deployment, except for deployments resulting from changes to the access control policy rules and security intelligence. You must run the rule profiling for the device again. |