Easily enable Operational Insights for Azure virtual machines

2015年1月29日

Enable Operational Insights on your virtual machines to collect, search & analyze event/IIS logs, and perform deeper analysis, including malware assessment, update assessment, change tracking, and SQL Server assessment. You can now easily enable Operational Insights on your virtual machines by using Windows PowerShell or with a single click from the Azure Management Portal. To enable Operational Insights from the management portal, navigate to your Operational Insights workspace and select the Servers tab. Here you will see a list of your virtual machines. Select the virtual machine you want to install the agent on, and click the Enable Op Insights button. Operational Insights in the Azure Portal If want to enable Operational Insights on several virtual machines, you can use  Windows PowerShell. Operational Insights uses the Microsoft Monitoring Agent Azure Virtual Machine extension, and you can use a Windows PowerShell command similar to the following example:
Add-AzureAccount
$workspaceId="enter workspace here"
$workspaceKey="enter workspace key here"
$hostedService="enter hosted service here">
$vm = Get-AzureVM –ServiceName $hostedService
Set-AzureVMExtension -VM $vm -Publisher 'Microsoft.EnterpriseCloud.Monitoring' -ExtensionName 'MicrosoftMonitoringAgent' -Version '1.*' -PublicConfiguration "{'workspaceId':  '$workspaceId'}" -PrivateConfiguration "{'workspaceKey': '$workspaceKey' }" | Update-AzureVM -Verbose
You can find your Workspace ID and Workspace Key on the Servers and Usage page of the Operational Insights portal. The Update Assessment, Change Tracking, Malware Assessment, and SQL Assessment intelligence packs work with Microsoft Monitoring Agent to provide deeper insights about your virtual machines. If you haven’t already, you can enable these intelligence packs when you are signed-in to the Operational Insights portal. To learn more, including how you can sign up, see Operational Insights.

無料アカウント

$200 の Azure クレジットを取得して、人気のサービスを 12 か月無料でご利用ください。

無料で始める

Visual Studio

サブスクライバーは 1 年ごとに最大 $1800 までの Azure サービスが利用できます。

今すぐアクティブ化

スタートアップ

BizSpark プログラムに参加して、Azure サービスを無料で利用しましょう

詳細情報