简体   繁体   中英

Adding a Query to Azure log analytics using ARM

I am new to azure trying to figure out how to add a query to log analytics using ARM. I have surfed through the Azure Documentation but didn't find the exact data for the mentioned task. What could be the approach?

This Microsoft Documentation gives clear example how to add query to Azure LogAnalytics using Azure Resource Manager and Taken reference from Resource Manager template samples for log queries in Azure Monitor and

Parameter.json :

{

"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",

"contentVersion": "1.0.0.0",

"parameters": {

"workspaceName": {

"value": "rithwik"

},

"location": {

"value": "West Central US"

}

}

}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM