You can configure vRealize Log Insight Cloud to archive log data if you want to retain logs older than 30 days, which is the default retention period. For example, production logs are more crucial and you can retain them for a longer period, such as a year, and you can retain test logs for a shorter period, such as six months.

Procedure

  1. Click the two arrows icon in the upper-left corner of the screen to expand the main menu.
  2. Navigate to Log Management > Log Archival.
  3. Click New Configuration.
  4. Provide the following information:
    Option Description
    Name A unique display name for the log archival configuration.
    Query

    Filters log messages to archive the logs that contain the text you enter. At least one filter is required.

    To add more filters, click Add Filter. Optionally, click the magnifying glass icon to preview the filtered results.

    Retention Days The number of days for which you want to retain the logs.
  5. Click Save.

Results

vRealize Log Insight Cloud saves the logs from the log archival configuration in Amazon S3. To view the archived logs, you can download them to an Amazon S3 bucket of your choice.