Troubleshoot missing filters and incomplete exports in custom AEM audit log tools

Adobe Experience Manager (AEM) custom audit log tools may have missing country-specific filters or incomplete date-range exports because of limitations or defects in the custom implementation rather than standard AEM functionality. To resolve the issue, review the custom filtering and export logic, correct any backend query or pagination issues, and verify that the expected filters and records are available.

Description description

Environment

Adobe Experience Manager (AEM)

Issue/Symptoms

  • Country-specific filter options are missing from the custom audit log tool.
  • Exported logs don’t include all records within the selected date range.

Root cause

The issue is typically caused by incomplete or missing functionality in the custom-developed audit log tool rather than the standard AEM product.

Resolution resolution

Follow the steps below to resolve the issue:

  1. Review the custom audit log tool implementation to determine whether country-specific filtering is supported.
  2. If a country filter is missing, update the tool’s UI to include a dropdown or selection field for the required country codes, for example, US or UK.
  3. Ensure that the tool’s backend logic supports filtering log entries by the selected country code.
  4. To troubleshoot incomplete date-range exports, reproduce the issue by selecting a date range and exporting the logs.
  5. Compare the on-screen log results with the exported file and confirm whether any entries are missing.
  6. Review and update the export logic to ensure that it retrieves and includes all records within the selected date range. Check the backend query or export function for filtering or pagination issues.
  7. Optionally, review the relevant AEM request and error logs during the export attempt to identify errors or exceptions.
  8. After making the changes, verify that the country filter works as expected and that exports include all records within the selected date range.
recommendation-more-help
experience-cloud-kcs-help-kbarticles