Collecting diagnostic information for Aria Operations for Logs (Formerly vRealize Log Insight)
search cancel

Collecting diagnostic information for Aria Operations for Logs (Formerly vRealize Log Insight)

book

Article ID: 320337

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

VMware Technical Support routinely requests diagnostic information from you when a support request is handled. This diagnostic information contains product specific logs and configuration files from the host on which the product is run. The information is gathered using a specific script or tool for each product.

This article provides procedures for obtaining diagnostic information for Aria Operations for Logs (Formerly vRealize Log Insight).


Resolution

You can collect diagnostic information for Aria Operations for Logs (Formerly vRealize Log Insight) from the web interface or from the command line.

For all methods, the support information is collected and stored in a *.tar.gz file which has the naming convention loginsight-support-YYYY-MM-DD_HHMMSS.xxxxx.tar.gz, where xxxxx is the process ID which created the file.

Collecting diagnostic information from a Log Insight 8.x or higher cluster using the web interface

In vRealize Log Insight diagnostic information is stored locally on disk within each node. To collect diagnostic information from every node within the Log Insight cluster:

  1. Using a web browser, open the vRealize Log Insight web interface at https://HostnameOrIPAddress/
  2. Log in as a user with the local Admin account
  3. Click on the arrow icon >> to expand the menu bar on the left
  4. Under Management, select Cluster.
  5. Under the node list, click Download Support Bundle.
  6. Select either Static Support Bundle or Streaming Support Bundle
  7. Click Continue when prompted.
  8. Once the log bundle is generated, Save File to desired location.
  9. Upload the support bundle to VMware. For more information, see Uploading Diagnostic information for VMware through the Secure FTP & Broadcom portal.

Collecting diagnostic information from a single Log Insight node using the loginsight-support-new command line prior to version 8.14

In all previous versions of Log Insight, there is a local loginsight-support-new command which an be used to collect diagnostic information from a specific node via an SSH session or the console. This produces a file locally within the Log Insight virtual appliance, which must be copied out for sharing.

  1. Open a console or SSH session to a Log Insight virtual appliance and log in as root.
  2. Run the command:

    loginsight-support-new

    Note: Additional options can be specified to customize the log bundle collection. Use the loginsight-support-new -h command for a list of options available.
     
  3. The last message before returning to a command prompt will indicate that a compressed support bundle file was created  
To see the files collected, check '/storage/var/esx-vrlivm-1.vcloud.local-2023-02-13--13.08-7942.tgz
  1. Copy the file from the Log Insight virtual appliance using a method like scp or ftp.
  2. Delete the file from the Log Insight virtual appliance using the command:

    rm /storage/var/esx-vrlivm-1.vcloud.local-2023-02-13--13.08-7942.tgz
Note: Replace esx-vrlivm-1.vcloud.local-2023-02-13--13.08-7942.tgz with the name of your support bundle as seen in the output from steps 2-3.
  1. Upload the support bundle to VMware. For more information, see Uploading Diagnostic information for VMware through the Secure FTP & Broadcom portal.


Collecting diagnostic information from a single Log Insight node on version 8.14 and above:

In the 8.14 release there has been a change in the usage of the command to manually generate support bundles.
From 8.14 onwards you can choose to generate a static or streaming support bundle.
The "loginsight-support-static" command generates a support bundle which contains all the rotated logs, however the "loginsight-support-streaming" does not include rotated logs, hence it's smaller in size.

  1. Open a console or SSH session to a Log Insight virtual appliance and log in as root.
  2. Run one of the following commands depending on requirement:

    static support bundle:
    /opt/vmware/bin/loginsight-support-static

    streaming support bundle:
    /opt/vmware/bin/loginsight-support-streaming
  3. The last message before returning to a command prompt will indicate that a support bundle file was created  

    To see the files collected, check '/storage/var/logs-support-2023-10-26--09.37-8166.tgz'

    Note: Replace logs-support-2023-10-26--09.37-8166.tgz with the name of your support bundle as seen in the output from steps 2-3.
  4. Copy the file from the Log Insight virtual appliance using a method like scp or ftp.
  5. Delete the file from the Log Insight virtual appliance using the command:

    rm /storage/var/logs-support-2023-10-26--09.37-8166.tgz

    Note: Replace logs-support-2023-10-26--09.37-8166.tgz with the name of your support bundle as seen in the output from steps 2-3.
  6. Upload the support bundle to VMware. For more information, see Uploading Diagnostic information for VMware through the Secure FTP & Broadcom portal.



Additional Information

For more information about opening a support request, see Contact Broadcom Support.