Deploy Log Analytics (OMS) artifacts using an ARM template that we'll use throughout the day using the Azure Portal.
In an Administrator PowerShell console window, type:
Install-Module -Name AzureRM -RequiredVersion 5.2.0 -Force
Ensure you have Git for Windows installed.
Open a PowerShell console and type the following:
git clone https://github.com/MSDEVMTL/GlobalAzureBootcamp2018.git c:\gab2018\
Set-Location c:\gab2018\step1\
Still in the PowerShell console, type the following:
Login-AzureRmAccount
Enter your credentials
Select the desired subscription using:
Set-AzureRmContext -Subscription 'MySubscriptionName'
Invoke the provisioning by typing:
& .\Invoke-Provisioning.ps1
Presenter: While provisioning is running (~1min), you can show the scripts/templates around...
NOTE: Log Analytics changed his pricing model in April 2018. If you encounter an error in the step above saying:
Pricing tier doesn't match the subscription billing model
Browse to the file
template-oms.parameters.json
and change the value of theSku
parameter from Free to PerGB2018 (or the opposite) and run the provisioning again.
After provisioning is finished, navigate to the Azure portal
In the search bar type gab2018-dev-oms-all
, click the related Log Analytics resource
Once in the resource, scroll down the left pane to Azure Activity Log then click the desired subscription
A new pane will open, click the Connect button
Previous Step Next Step