Administration Guide › Event Correlation and Incident Management › Correlation Rule Tasks › Example: Creating a CSV File for Testing
Example: Creating a CSV File for Testing
This example illustrates the creation of a CSV file for correlation rule testing. It is intended to test a rule that searches for 5 failed logins followed by a successful login from a single user.
To create a CSV file to test a failed login followed by success rule
- Log in to CA Enterprise Log Manager as an Administrator, and click the Queries and Reports tab.
- Search for the "Five Failed Logins by in Last 1 Hour by Performer" query.
- Run it and view the results. If there are results, proceed to the next step. If not, create a dummy user, log out, and create failed logins using the new dummy user.
- Export the query to CSV, and open the CSV file in Excel.
- Add other user details as needed. For example, add information to reflect the sucessful login.
- Save the CSV file when it has all the event information you need.
- Open the rule you want to test in the Library Explorer, and click the Rule Test tab in the details pane.
- Load the CSV file, and confirm that the proper incidents are created.