When you activate launch in context for vRealize Log Insight, a vRealize Log Insight resource is created in vRealize Operations.
The resource identifier contains the IP address of the vRealize Log Insight instance, and is used by vRealize Operations to open vRealize Log Insight.
Launch in Context in vRealize Operations 6.5 and Later
For information about enabling launch in context, see the vRealize Operations information center.
Launch in Context in the vSphere User Interface of vRealize Operations 6.4 and Earlier
The launch in context options that are related to vRealize Log Insight appear in the Actions drop-down menu of the vSphere user interface. You can use these menu items to open vRealize Log Insight, and search for log events from an object in vRealize Operations.
The available launch in context action depends on the object that you select in vRealize Operations inventory. The time range of the queries is limited to 60 minutes before you click a launch in context option.
Object selected in vRealize Operations | Launch in Context Option in the Actions Drop-Down Menu | Action in vRealize Operations | Action in vRealize Log Insight |
---|---|---|---|
World | Open vRealize Log Insight | Opens vRealize Log Insight. | vRealize Log Insight displays the Explore Logs page. |
vCenter Server | Open vRealize Log Insight | Opens vRealize Log Insight. | vRealize Log Insight displays the Explore Logs page. |
Data center | Search for logs in vRealize Log Insight | Opens vRealize Log Insight and passes the resource names of all host systems under the selected data center object. | vRealize Log Insight displays the Explore Logs page and performs a query to find log events that contain names of hosts within the data center. |
Cluster | Search for logs in vRealize Log Insight | Opens vRealize Log Insight and passes the resource names of all host systems under the selected Cluster object. | vRealize Log Insight displays the Explore Logs page and performs a query to find log events that contain names of hosts within the cluster. |
Host System | Search for logs in vRealize Log Insight | Opens vRealize Log Insight and passes the resource name of the selected Host object. | vRealize Log Insight displays the Explore Logs page and performs a query to find log events that contain the name of the selected Host system. |
Virtual Machine | Search for logs in vRealize Log Insight | Opens vRealize Log Insight and passes the IP address of the selected virtual machine and the resource name of the related host system. | vRealize Log Insight displays the Explore Logs page and performs a query to find log events that contain the IP address of the virtual machine, and the name of the host where the virtual machine resides. |
On the Alerts tab, if you select an alert and select Search for logs in Log Insight from the in-context menu, the time range of the query is limited to one hour before the alert is triggered. For example, if an alert was triggered at 2:00 PM, the query in vRealize Log Insight displays all log messages that occurred between 1:00 PM and 2:00 PM. This helps you identify events that might have triggered the alert.
Launch in Context in the vRealize Operations 6.4 and Earlier User Interface
- The Alerts Overview page.
- The Alert Summary page of a vRealize Log Insight notification alert.
- The Alerts widgets on your dashboards, when a vRealize Log Insight notification alert is selected.
When you select a vRealize Log Insight notification event in the Custom user interface, you can choose between two launch in context actions.
Launch in Context Option in vRealize Operations | Action in vRealize Operations | Action in vRealize Log Insight |
---|---|---|
Open vRealize Log Insight | Opens vRealize Log Insight. | vRealize Log Insight displays the Dashboards page and loads the vSphere Overview dashboard. |
Search for Logs in vRealize Log Insight | Opens vRealize Log Insight and passes the ID of the query that triggered the notification event. | vRealize Log Insight displays the Explore Logs page and performs the query that triggered the notification event. |
When you select an alert that has not originated from vRealize Log Insight, the launch in context menu contains the Search for VM and Host Logs in vRealize Log Insight menu item. If you select this menu item, vRealize Operations opens vRealize Log Insight and passes the identifiers of the object that triggered the alert. vRealize Log Insight uses the resource identifiers to perform a search in the available log events.