When you activate launch in context on a vRealize Operations 6.2 and later instance, vRealize Log Insight creates an instance of the vRealize Log Insight adapter on the vRealize Operations instance.

The instance of the adapter remains in the vRealize Operations instance when you uninstall vRealize Log Insight. As a result, the launch in context menu items continue to appear in the actions menus, and point to a vRealize Log Insight instance that no longer exists.

To deactivate the launch in context functionality in vRealize Operations, you must remove the vRealize Log Insight adapter from the vRealize Operations instance.

You can use the command line utility cURL to send REST calls to vRealize Operations.

Note: These steps are only required if Launch in Context was activated.

Prerequisites

  • Verify that cURL is installed on your system. Note that this tool is preinstalled in the vRealize Operations virtual appliance and the steps can be performed from the appliance using IP address 127.0.0.1.
  • Verify that you know the IP address or host name of the target vRealize Operations instance.
  • Depending on the vRealize Operations license that you own, verify that you have the minimum credentials required to remove the management pack. See Minimum Required Permissions for a Local or Active Directory User Account.

Procedure

  1. In cURL, run the following query on the vRealize Operations virtual appliance to find the vRealize Log Insight adapter.
    curl -k -u "admin" https://ipaddress/suite-api/api/adapterkinds/LogInsight/resourcekinds/LogInsightLogServer/resources
    

    Where admin is the administrator login name and ipaddress is the IP address (or hostname) of the vRealize Operations instance. You are prompted to enter the password for the user: admin.

    From the curl output find the GUID value assigned to the identifier: <ops:resource creationTime="{TIMESTAMP}" identifier=“{GUID}”>. You can use this GUID value in the below command that removes the adapter instance.

  2. Run the following command to remove the vRealize Log Insight adapter.
    curl -k -u "admin" -X DELETE https://ipaddress/suite-api/api/adapters/{GUID}

    Where admin is the administrator login name and ipaddress is the IP address (or hostname) of the vRealize Operations instance. You are prompted to enter the password for the user: admin.

Results

vRealize Log Insight launch in context items are removed from the menus in vRealize Operations. For more information about launch in context, see the topic vRealize Log Insight Launch in Context of the vRealize Log Insight in-product help.