POST /lcm/api/v1/collectlogs/environment collects log files for all vRealize Suite Lifecycle Manager environments that you can use for troubleshooting.

Prerequisites

Satisfy the following conditions before performing any tasks for this use case.
  • Use POST /lcm/api/v1/login to log in to vRealize Suite Lifecycle Manager.
  • Verify that you have a valid authentication token that matches your login credentials. See Request an Authentication Token.

curl Command

The following example collects a support bundle of logs for the environment.
curl -X POST "https://LCM-Hostname/lcm/api/v1/collectlogs/environment" \
        -H "accept: application/json" \
        -H "x-xenon-auth-token: $token" \

JSON Output

The following JSON output is returned based on the command input.
{
  "requestId": "78b45f299cbdc2755589c4ee37bf8"
}