You can specify the number of Secure Agent script log files to retain in the directory where the script runs. The application retains the most recent log files up to the value specified, and deletes all older log files.
By default, the application retains the 50 most recent script log files.
Select the Secure Agent where the Ops Insights Collector runs.
Enter the number of log files to keep as the value for the scriptLogRetentionCount property.