Skip to content

Instantly share code, notes, and snippets.

@yoelk
yoelk / azuredeploy.json
Created August 20, 2025 13:48
Azure Monitor Logs ARM Template - Temporary
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {},
"variables": {
"connectorName": "$CONNECTOR_NAME",
"servicePrincipalId": "$SERVICE_PRINCIPAL_ID",
"location": "[resourceGroup().location]",
"dceName": "[concat(variables('connectorName'), '-dce')]",
"dcrName": "[concat(variables('connectorName'), '-dcr')]",
@yoelk
yoelk / azuredeploy.json
Created August 18, 2025 06:45
Azure Monitor Logs ARM Template - Temporary
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {},
"variables": {
"connectorName": "$CONNECTOR_NAME",
"servicePrincipalId": "$SERVICE_PRINCIPAL_ID",
"location": "[resourceGroup().location]",
"dceName": "[concat(variables('connectorName'), '-dce')]",
"dcrName": "[concat(variables('connectorName'), '-dcr')]",
@yoelk
yoelk / azure-monitor-logs-MyCustomTable-1755078680.json
Created August 13, 2025 09:51
ARM Template for Azure Monitor Logs - Table: MyCustomTable (2025-08-13 11:51:20)
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {},
"variables": {
"tableName": "MyCustomTable",
"servicePrincipalId": "485118a1-43ff-4d5f-8f49-17589dd53fde",
"tableRetentionDays": 30,
"workspaceName": "dev-us1-m1",
"tableSchema": "$TABLE_SCHEMA",
@yoelk
yoelk / azure-monitor-logs-MyCustomTable-1755078055.json
Created August 13, 2025 09:40
ARM Template for Azure Monitor Logs - Table: MyCustomTable (2025-08-13 11:40:55)
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {},
"variables": {
"tableName": "MyCustomTable",
"servicePrincipalId": "485118a1-43ff-4d5f-8f49-17589dd53fde",
"tableRetentionDays": 30,
"workspaceName": "dev-us1-m1",
"tableSchema": "$TABLE_SCHEMA",
@yoelk
yoelk / azure-monitor-logs-MyCustomTable-1755075729.json
Created August 13, 2025 09:02
ARM Template for Azure Monitor Logs - Table: MyCustomTable (2025-08-13 11:02:09)
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {},
"variables": {
"tableName": "MyCustomTable",
"servicePrincipalId": "485118a1-43ff-4d5f-8f49-17589dd53fde",
"tableRetentionDays": 30,
"workspaceName": "dev-us1-m1",
"tableSchema": "$TABLE_SCHEMA",
@yoelk
yoelk / azure-monitor-logs-MyCustomTable-1755075539.json
Created August 13, 2025 08:59
ARM Template for Azure Monitor Logs - Table: MyCustomTable (2025-08-13 10:58:59)
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {},
"variables": {
"tableName": "MyCustomTable",
"servicePrincipalId": "485118a1-43ff-4d5f-8f49-17589dd53fde",
"tableRetentionDays": 30,
"workspaceName": "dev-us1-m1",
"tableSchema": "$TABLE_SCHEMA",
@yoelk
yoelk / azure-monitor-logs-JoelTest1-1755075100.json
Created August 13, 2025 08:51
ARM Template for Azure Monitor Logs - Table: JoelTest1 (2025-08-13 10:51:40)
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {},
"variables": {
"tableName": "JoelTest1",
"servicePrincipalId": "485118a1-43ff-4d5f-8f49-17589dd53fde",
"tableRetentionDays": 30,
"workspaceName": "dev-us1-m1",
"location": "[resourceGroup().location]",
@yoelk
yoelk / azure-monitor-logs-MyCustomTable-1755075031.json
Created August 13, 2025 08:50
ARM Template for Azure Monitor Logs - Table: MyCustomTable (2025-08-13 10:50:31)
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {},
"variables": {
"tableName": "MyCustomTable",
"servicePrincipalId": "485118a1-43ff-4d5f-8f49-17589dd53fde",
"tableRetentionDays": 30,
"workspaceName": "dev-us1-m1",
"location": "[resourceGroup().location]",
@yoelk
yoelk / azure-monitor-logs-joel-test-301-1755074942.json
Created August 13, 2025 08:49
ARM Template for Azure Monitor Logs - Table: joel-test-301 (2025-08-13 10:49:02)
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {},
"variables": {
"tableName": "joel-test-301",
"servicePrincipalId": "485118a1-43ff-4d5f-8f49-17589dd53fde",
"tableRetentionDays": 30,
"workspaceName": "dev-us1-m1",
"location": "[resourceGroup().location]",
@yoelk
yoelk / azure-monitor-logs-MyCustomTable-1755074909.json
Created August 13, 2025 08:48
ARM Template for Azure Monitor Logs - Table: MyCustomTable (2025-08-13 10:48:29)
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {},
"variables": {
"tableName": "MyCustomTable",
"servicePrincipalId": "485118a1-43ff-4d5f-8f49-17589dd53fde",
"tableRetentionDays": 30,
"workspaceName": "dev-us1-m1",
"location": "[resourceGroup().location]",