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 크레딧을 받으세요.

무료로 시작

Visual Studio

최대 $1800 연간 Azure 서비스를 구독자에게 제공

지금 활성화

시작

BizSpark 프로그램에 가입하고 무료 Azure 서비스를 이용하세요

자세한 정보