Configure the retention notification threshold. Enable data archiving, so you can archive logs and selectively clean the datastore when free space is required.

VMware Aria Operations for Logs continuously estimates how long data can be retained with the currently available pool of storage. If the estimation drops below the retention threshold, VMware Aria Operations for Logs notifies the administrator that the amount of searchable log data is likely to drop.

UI Procedure

  1. Log in to VMware Aria Operations for Logs at https://<aria_operations_for_logs_fqdn> as admin.
  2. Configure notifications for reaching the retention threshold.

    1. In the left pane, click Configuration > General.

    2. On the General configuration page, in the Alerts section, configure the settings according to your VMware Cloud Foundation Planning and Preparation Workbook, and click Save.

  3. Configure data archiving.

    1. In the left pane, click Log management and then, click the Index partitions tab.

    2. Click Edit partition for the default partition.

    3. In the Edit partition dialog box, configure the settings according to your VMware Cloud Foundation Planning and Preparation Workbook.

    4. To test the connection to the archive storage location, click Test.

    5. Click Save.

PowerShell Procedure

  1. Start PowerShell.

  2. Replace the values in the sample code with values from your VMware Cloud Foundation Planning and Preparation Workbook and run the commands in the PowerShell console.

    $sddcManagerFqdn = "sfo-vcf01.sfo.rainpole.io"
    $sddcManagerUser = "administrator@vsphere.local"
    $sddcManagerPass = "VMw@re1!"
    
    $emailAddress = "administrator@rainpole.io"
    $retentionNotificationDays = "1"
    $retentionInterval = "weeks"
    $retentionPeriodDays = "7"
    $archiveLocation = "nfs://172.27.11.4/log-archives"
  3. Perform the configuration by running the command in the PowerShell console.

    Add-vRLILogArchive -server $sddcManagerFqdn -user $sddcManagerUser -pass $sddcManagerPass -emailAddress $emailAddress -retentionNotificationDays $retentionNotificationDays -retentionInterval weeks -retentionPeriodDays $retentionPeriodDays -archiveLocation $archiveLocation