Create Log Analytic Table November 26, 2025 by admin

$tableParams = @’
{
“properties”: {
“schema”: {
“name”: “Postgress_Port_Monitor_CL”,
“columns”: [
{
“name”: “TimeGenerated”,
“type”: “DateTime”
},
{
“name”: “RawData”,
“type”: “String”
}
]
}
}
}
‘@

Invoke-AzRestMethod -Path “/subscriptions/<<ID>>/resourceGroups/ID>>/providers/Microsoft.OperationalInsights/workspaces/<<ID>>/tables/Postgress_Port_Monitor_CL?api-version=2021-12-01-preview” -Method PUT -payload $tableParams

Leave a Reply

Your email address will not be published. Required fields are marked *