Only logs for the past 2 days are collected when generating an Aria Automation log bundle with the vracli log-bundle command
search cancel

Only logs for the past 2 days are collected when generating an Aria Automation log bundle with the vracli log-bundle command

book

Article ID: 430472

calendar_today

Updated On:

Products

VCF Automation

Issue/Introduction

When running the vracli log-bundle command without any options, the Aria Automation log bundle only collects logs for the past 2 days by default.

Environment

VMware Aria Automation 8.x

Cause

This is the default specification of the vracli log-bundle command. If no duration is specified, the collection process targets logs from the most recent 2 days.

Resolution

If you need to collect logs older than the past 2 days, use the --since-days option to specify the number of days.

Execution Command:

vracli log-bundle --since-days <n>

Note: 

  • Replace <n> with the number of past days you wish to collect.

  • As the value of <n> increases, the file size of the generated log bundle will increase, and it will take longer to complete the generation process.

  • Aria Automation periodically monitors the disk usage for logs. When disk usage reaches 70%, deletion of older logs begins until the usage drops to 60%. Therefore, even if a large value is specified for --since-days, logs for the specified number of days may not be collected if they have already been deleted due to log rotation, depending on the log output volume and remaining disk space in your environment.

Example:

To collect logs for the past 2 weeks (14 days):

vracli log-bundle --since-days 14

Additional Information

vracli log-bundle コマンドで Aria Automation のログバンドルを生成すると過去 2 日間分しか収集されない (430475)