Tracking login failures by using a report
Version:
Login failures are recorded on the Pega log and are tracked in the database. To view the login failures, you can use a log viewer or you can write a report.
Pega Platform records login failures for all requestors, and can also record login successes if you configure that event on the Security Event Configuration landing page. Login successes and failures are tracked as instances of the Log-SecurityAudit class.
You can also view login failures on the Security Audit Log if you have configured the Audit log level on the Security Policies landing page.
-
Create a report with an applies to class equal to Log-SecurityAudit.
-
In the Edit columns section, list the columns to appear on the report.
- Optional:
In the Edit filters section, define filters for the report.
In the Column source field, enter .pxCreateDateTime. In the Relationship list, click Greater than or equal to. Click Select values and then click a time period. -
Save and run the report.
- Creating advanced reports
Facilitate the process of data analysis by presenting the data that you retrieve from the database in the form of a table.
- Selecting a security event to monitor
To monitor and analyze security events, use the Security Event Configuration feature. You can select individual events to be automatically captured in logs for every user session.
- Viewing log files in an external log viewer
You can view log files using an external log viewer, such as Kibana. An external log viewer can help you visualize logs and monitor potential issues.
- Displaying the Security Audit Log
Display the audit log to view login attempts and other security events.
- Defining security policies
To define security policies for user authentication and session management, use the Security Policies tab.