How can I reclaim disk space used by ADManager Plus logs and archives?

How can I reclaim disk space used by ADManager Plus logs and archives?

Objective 

Administrators running ADManager Plus on limited-capacity servers often face disk space issues due to accumulated logs, archived reports, and system data. This article helps such users proactively reclaim disk space by identifying and cleaning up non-critical files, such as exported reports, logs, patches, and audit data, without affecting the core functionality or configurations.

Prerequisites 

  • Access to the ADManager Plus server with administrative privileges

  • A recent backup or VM snapshot in case a rollback is needed

Steps to follow 

Step 1: Delete exported scheduled reports 

  1. Log in to the server where ADManager Plus is hosted.

  2. Navigate to <ADManager Installation Folder>/ADManager Plus/Audit data/ScheduledReports/.

  3. Delete older PDF, CSV, or XLSX report files that are no longer needed.

Step 2: Clean up the logs folder 

  1. Log in to the server where ADManager Plus is hosted.

  2. Navigate to <Installation Directory>/ADManager Plus/logs/.

  3. Remove or archive older log files such as serverout.txt or system_logs.

  4. Retain logs only from the past 30 days (or according to your audit policy).

Step 3: Delete old patches

  1. Log in to the server where ADManager Plus is hosted.

  2. Navigate to <Installation Directory>/patch/.

  3. If patches have been applied and are stable, delete older PPM or ZIP files.

  4. Retain the latest three backup files if present.

Step 4: Review the bin folder

  1. Check if the bin folder contains large crash logs (e.g., hs_err_pid files).

  2. Sort by size and remove unusually large or outdated files after review.

Step 5: Remove or disable unused scheduled reports 

  1. Log in to the ADManager Plus web console.

  2. Navigate to Reports > Schedule Reports.

  3. Identify outdated or unnecessary schedules.

  4. Disable or delete them to prevent further file accumulation.

Step 6: Purge old Elasticsearch data

  1. Log in to the ADManager Plus web console.

  2. Navigate to Delegation > Help Desk Audit Reports > Audit Report > Manage Archives > Archive Settings.

  3. Set a limit (e.g., retain data for only the last 90 days). These folders store indexed data used for reporting.

Tips  

  • Create a backup or take a VM snapshot before deleting any files you're uncertain about.

  • Perform large-scale cleanups during scheduled maintenance windows to avoid service disruptions.

  • If disk space continues to fill up rapidly, consider setting up a cron job or cleanup script for automated periodic maintenance.

                  New to ADSelfService Plus?

                    • Related Articles

                    • Unable to start ADManager Plus

                      Issue description ADManager Plus may sometimes fail to start, either displaying an error message while initiating as a console or stopping unexpectedly during the startup process. This issue can disrupt administrative tasks and delay critical ...
                    • The file may be corrupted or check for the available disk space

                      Error: The file may be corrupted or check for available disk space. Solution: If you encounter issues such as file corruption or restricted access, follow the below steps to resolve them. Check Disk Space: Ensure sufficient disk space is available on ...
                    • How to forward logs from ADManager Plus to Syslog?

                      ADManager Plus enables you to forward its logs to syslog servers with its out-of-the-box integration. With this integration in place, the logs of all AD management operations performed using ADManager Plus can be automatically forwarded to the ...
                    • How to integrate ADManager Plus with Splunk

                      This integration empowers you to forward logs from ADManager Plus to your Splunk server for detailed auditing. Steps to configure Splunk server settings in ADManager Plus : Log in to ADManager Plus and navigate to the Admin tab. Under System ...
                    • How can I view archived audit reports and manage archive settings using ADManager Plus?

                      Objective ADManager Plus allows archiving audit data related to help desk technician activities. However, many users may not know how to retrieve archived audit reports or configure archive settings correctly. This can lead to difficulties in ...