4.6 Testing a Correlation Rule

You can determine whether the rule is working as expected by testing a rule on the events that are already in the system before deploying it to monitor real-time events.

  1. Launch the Correlation interface.

    For more information, see Section 4.2, Accessing the Correlation User Interface.

  2. In the Correlation panel, click any rule that you want to test, then click .

  3. Click Test Rule.

  4. Specify the time frame during which you want to test the rule.

  5. (Optional) Click to filter events that the rule should process.

  6. Click Test Rule.

    The test takes some time, depending on the specified criteria. After the test is complete, the test results are displayed.

    The test results display the rule details:

    • Status: Indicates whether the test is running, stopped, or completed. The test stops when the rule has fired at least 20 times during the test process. This ensures that the rule is working as expected and saves time when there are many events.

    • Started at: The date/time when the rule started to fire.

    • Finished at: The date/time when the test stopped.

    The indicators (dots) indicate when the rule fired. The white dot indicates a single correlation event. The black dot indicates multiple correlation events generated within a short period of time. Click the indicator to see the event details.

  7. Click the Close icon to close the test results.