Configuring a report with an LDAP server
You can use report filters to only the show members of a group in an LDAP server.
This example demonstrates how to filter the Admin and System Events Report to show data for the group members in Distinguished Name: cn=group1,ou=groups,dc=fortinet,dc=com
in the report output.
Requirements:
- The LDAP server is ready and accessible.
- Group members are configured.
To configure the report:
- Add the LDAP server to FortiAnalyzer.
- Go to System Settings > Remote Authentication Server, and click Create New > LDAP Server.
- Configure the LDAP server settings, then click OK.
- Apply the LDAP server to the report filter.
- Go to Reports > Report Definitions > All Reports, select the Admin and System Events Report and click Edit.
- Click the Settings tab, then expand the Filters section.
- Use the following settings to configure the filter:
Log Field Select Group (group). Match Criteria Select Equal to. Value Enter group1
. - Click LDAP Query and set LDAP Server to the LDAP server you created, then click Apply.
- Select the View Report tab and click Run Report to run the report and verify the output.
The report displays the users in the group:cn=group1,ou=groups,dc=fortinet,dc=com
in the Login Summary chart and the group name in the Report Filters.