As explained in the earlier article in this tutorial, it is possible to download the logs of the ESXi and vCenter files for more accurate and long-term storage, and save them elsewhere. This tutorial will teach you how to do this.
Download VMware ESXi and vCenter log files using VMware Web Client
To do this, just click on the icon for the desired hosting site after logging in to vCenter and select Export System Logs as shown below.
In the External Logs window, there are many categories that not only contain logs, but also configuring information about your virtual environment for the hosts you are looking for. If you are a virtualization expert in countries other than Iran and have VMware support (Valid license), it is usually necessary to send a copy of all logs to VMware in the same window as they can. This simulates your virtual environment. Therefore, the information contained herein can in some way be considered confidential for some organizations (such as banks). Because with this information, hackers can also get a lot of information about your virtual infrastructure. The Export Logs window is displayed in the image below:
A collection of logs together with the log Bundle is called. One of the most useful Log Bundles to evaluate and troubleshoot the Log Bundle's virtual infrastructure is Performance, or the same as the performance of your ESXi or vCenter. To generate these types of logs, you must set the time interval or Duration after activating the Gather Performance Data option (for example, in the image below 5 minutes or 300 seconds) and then specify how many seconds each time (interval) along this Save the timeline of logs in this bundle. Finally, click Generate Log Bundle. It is obvious that if you apply such a configuration, the process of creating a log Bundle will take about 5 minutes or more. (Depending on the Duration that has been set)
know more! Specifically, Performance Data is generated through the automatic execution of the ESXTOP and vsish commands . ㊣By specifying your Interval, you will instruct the ESX to run these commas every few seconds.🙂
If you would like to save log files to all hosts in one place, you can right-click on the icons in the first step, click the vCenter icon and then select Export System Logs. In this case, as in the screenshot below, in addition to the hosts logs, it is possible to download vCenter and vSphere Web Client logs by enabling Include vCenter and vSphere Web Client logs.
If this article is useful to you, please share it on social networks.