This Azure Code sample provides powershell scripts to automate deployment and collection of Azure Stack cloud operational data to OMS.
Clone or download
ashika789 Update setup.md
Editing ARM Template Section
Latest commit 0f9fd55 Jan 18, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Initial commit Oct 31, 2017
Other Update to files to include Usage and Operational Data Nov 14, 2018
PowerBI Added All Project Files Oct 31, 2017
Samples Update to files to include Usage and Operational Data Nov 14, 2018
Solution Tiles Fixed title in tile Sep 12, 2018
data_sources Added All Project Files Oct 31, 2017
docs Update setup.md Jan 18, 2019
template Updated get-azurestackstampinformation reference Nov 3, 2017
.gitignore Initial commit Oct 31, 2017
CHANGELOG.md Initial commit Oct 31, 2017
CONTRIBUTING.md Initial commit Oct 31, 2017
Get-AllCurrentSubscriptions.psm1 Added All Project Files Oct 31, 2017
Get-DeploymentGuid.ps1 Added All Project Files Oct 31, 2017
InvokeMasterScript.ps1 Added OEM parameter Oct 30, 2018
LICENSE.md Initial commit Oct 31, 2017
MasterScript.ps1 Update MasterScript.ps1 Nov 14, 2018
OpsDataToOMS.ps1 Update to files to include Usage and Operational Data Nov 14, 2018
README.md Update to files to include Usage and Operational Data Nov 14, 2018
UpdateDependencies.ps1 Update UpdateDependencies.ps1 Apr 25, 2018
UpdateScripts.ps1 Fixed bug preventing git from pulling correctly Sep 7, 2018
UsageSummary.json Added All Project Files Oct 31, 2017
asUsageToOMS.ps1 Added logging Mar 21, 2018
schedule_usage_upload.ps1 Update to files to include Usage and Operational Data Nov 14, 2018
uploadToOMS.ps1 Update to files to include Usage and Operational Data Nov 14, 2018
usagesummaryjson.ps1 Update to files to include Usage and Operational Data Nov 14, 2018

README.md

services platforms author
Azure-Stack
PowerShell
chasat-ms & ashika789

AzureStack-AdminPowerShell-OMSIntegration

A common ask from Microsoft Azure Stack customers is how can they integrate the operational and usage data from multiple Azure Stack deployments with OMS. This project provides an example of how customers can build their own custom integration with OMS and PowerBI to visualize operational and usage data.

Features

This project sample provides the follow features:

  • Azure Stack alerts viewable through OMS
  • Azure Stack capacity data (memory, storage, public IP) viewable through OMS
  • Azure Stack version data per deployment viewable through OMS
  • Azure Stack usage data available for PowerBI queries

Getting Started

Prerequisites

  • Running and registered instance of Azure Stack (GA bits 170928.3 or higher)
  • Marketplace syndication of the Windows Server 2016 - Eval VM Image
  • Deployment GUID of Azure Stack system
  • Subscription to Azure (OMS Log Analytics)
  • Internet connection from Azure Stack OMS VM to Azure

Installation

  • Follow the detailed guidance in /docs/setup.md to deploy and configure a VM with scheduled tasks to upload data to OMS
  • Follow the detailed guidance in /docs/dashboard.md to configure the PowerBI Dashboard for usage data analysis

Screen Shots

Log Analytics Dashboard

Log Analytics Azure Stack Versions and Updates

Log Analytics Azure Stack Usage VM Size Hours by Clouds and Tenants

Azure Dashboard Example