Created
August 21, 2018 21:18
-
-
Save samhodgkinson/1cd89c44cc21a4b6ba43cf63cce3c410 to your computer and use it in GitHub Desktop.
Log Analytics Computer Group
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json", | |
"contentVersion": "1.0.0.0", | |
"parameters": { | |
"OMS-Workspace-Name": { | |
"type": "string", | |
"metadata": { | |
"description": "OMS Workspace Name" | |
} | |
} | |
}, | |
"variables": { | |
"OMS-API": "2015-11-01-preview" | |
}, | |
"resources": [ | |
{ | |
"apiVersion": "2017-03-03-preview", | |
"type": "Microsoft.OperationalInsights/workspaces/savedSearches", | |
"name": "[concat(parameters('OMS-Workspace-Name'), '/', 'ComputerGroup' )]", | |
"dependsOn": [], | |
"Tags": [ | |
{ | |
"Name": "Group", | |
"Value": "Computer" | |
} | |
], | |
"properties": { | |
"etag": "*", | |
"category": "category", | |
"displayName": "Heartbeat | where OSType==\"Linux\" | distinct Computer", | |
"query": "AzureActivity" | |
} | |
} | |
], | |
"outputs": {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment