Events are dropped in the Custom Rule Engine (CRE).
The following system notification or qradar.log/error entries are reported:Sep 7 10:16:35 <ip address> [ecs] [[type=com.eventgnosis.system.ThreadedEventProcessor][parent=<hostname>:ecs0/EP/Processor2]] <domain>.cre.CRE: [WARN] [NOT:0060005100][<ip address>/- -] [-/- -]Custom Rule Engine has detected a total of 20487 dropped event(s). 20487 event(s) were dropped in the last 62 seconds. Queue is at 99 percent capacity
Sep 7 10:16:35 <ip address> [ecs] [[type=com.eventgnosis.system.ThreadedEventProcessor][parent=<hostname>:ecs0/EP/Processor2]] <domain>.cre.CRE: [WARN] [NOT:0060005100][<ip address>/- -] [-/- -]Custom Rule Engine has detected a total of 20487 dropped event(s). 20487 event(s) were dropped in the last 62 seconds. Queue is at 99 percent capacity
This situation indicates the Custom Rule Engine (CRE) has an expensive rule which is slowing down processing, and its queue has filled to the point where it is dropping events. In versions 2012 and above, the findExpensiceCustomRules script is located in /opt/qradar/support/Note: You must run this command when the system is dropping events in the CRE. Running the tests after a reboot, ECS restart, or Hostcontext restart will not give an accurate measure of the expensive rules causing the drops. The test will take some time to complete (4 to 5 minutes on a system under light load).
/opt/qradar/support/
[root@<hostname>]# /opt/qradar/bin/findExpensiveCustomRules.shWriting custom rules outputGathering data 100% /Creating reportsWriting AverageExecutionTimeWriting TotalExecutionTimeWriting TotalExecutionCountWriting MaximumExecutionTimeWriting TotalTestCountWriting TotalTestTimeWriting AverageTestTimeWriting MaximumTestTimeWriting TotalActionsCountWriting TotalActionsTimeWriting AverageActionsTimeWriting MaximumActionsTimeWriting TotalResponseCountWriting TotalResponseTimeWriting AverageResponseTimeWriting MaximumResponseTimeData can be found in ./CustomRule-<date>-<unique number>.tar.gz
<date>-<unique number>