The getlogs utility using CLI

Last Updated : Jan 21, 2022 |
Prolog information
The getlogs utility is used to collect the necessary logs and configuration for troubleshooting an AE Services server. This utility has been enhanced in Release 8.1.3.4 to get the logs for a custom period.
Run the following command for the getlogs.sh utility configuration:
getlogs.sh [options]
Provides details of the options to run the getlogs utility command
Command
Example
Description
getlogs.sh
getlogs.sh
Collects all the logs available on the AE Services server.
getlogs.sh <days>
getlogs.sh 6
Specify the number of days for which the logs are to be captured. As per the example, the command collects the logs of last 6 days.
getlogs.sh <From date> <To date>
getlogs.sh 2021-08-03 2021-08-05
Specify the date range in the format of YYYY-MM-DD. As per the example, the command collects the logs from August 3, 2021 to August 5, 2021.
getlogs.sh <week>
getlogs.sh week
As per the example, the command collects the logs of last one week or 7 days.
getlogs.sh <month>
getlogs.sh month
As per the example, the command collects the logs of last one month or 30 days.
Note:
getlogs.sh [options] also collects all the important command outputs and configuration files.
Run the utility as root user.