Export System Log Files

When the vSphere Client is connected to vCenter Server, you can select hosts from which to download system log files. To save diagnostic data for ESXi hosts and vCenter Server, the vSphere Client must be connected to the vCenter Server system. If you are connected directly to an ESXi host, you can save diagnostic data only for that specific ESXi host.

Required privileges:

· To view diagnostic data: Read-Only User

· To manage diagnostic data: Global.Licenses

Procedure

1. Select File > Export > Export System Logs.

2. If you are connected to vCenter Server, select the object for which you want to export data.

Selecting an object selects all of its child objects.

image

image

image

3. If you are connected to vCenter Server, select Include information from vCenter Server and vSphere Client to download vCenter Server and vSphere Client log files and host log files, and click Next.

4. If the selected host supports manifest driven exports of system log files, select the system log files to collect. Select the specific system log files to download. If the host does not support manifest exports of log files, all system log files are exported.

image

5. Select Gather performance data to include performance data information in the log files. Click Next. You can update the duration and interval time you want the data collected.

6. Click Next.

7. Click Browse and specify the location to which to save the log files. The host or vCenter Server generates .zip bundles containing the log files. It does generate zip file but under zip file there is tgz file generated for host based information. The Recent Tasks panel shows the Generate diagnostic bundles task in progress.

image

8. Click Next. The Downloading Log Bundles dialog box appears when the Generating Diagnostic Bundle task is finished. The download status of each bundle appears in the dialog box. Some network errors can cause download failures. When you select an individual download in the dialog box, the error message for that operation appears under the name and location of the log bundle file.

9. Verify the information in the Summary and click Finish to download the log files.

image

10. If the download fails, click Retry to attempt to download the generated bundles again. Diagnostic bundles containing log files for the specified objects are downloaded to the location specified.

image

One thought on “Export System Log Files”

Comments are closed.