az monitor log-analytics workspace table
Manage tables for log analytics workspace.
Commands
az monitor log-analytics workspace table list |
List all the tables for the given Log Analytics workspace. |
az monitor log-analytics workspace table show |
Get a Log Analytics workspace table. |
az monitor log-analytics workspace table update |
Update the properties of a Log Analytics workspace table, currently only support updating retention time. |
az monitor log-analytics workspace table list
List all the tables for the given Log Analytics workspace.
az monitor log-analytics workspace table list --resource-group
--workspace-name
[--query-examples]
[--subscription]
Examples
List all the tables for the given Log Analytics workspace
az monitor log-analytics workspace table list --resource-group MyResourceGroup --workspace-name MyWorkspace
Required Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the Log Analytics Workspace.
Optional Parameters
Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
az monitor log-analytics workspace table show
Get a Log Analytics workspace table.
az monitor log-analytics workspace table show --name
--resource-group
--workspace-name
[--query-examples]
[--subscription]
Examples
Get a Log Analytics workspace table
az monitor log-analytics workspace table show --resource-group MyResourceGroup --workspace-name MyWorkspace -n MyTable
Required Parameters
Name of the table.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the Log Analytics Workspace.
Optional Parameters
Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
az monitor log-analytics workspace table update
Update the properties of a Log Analytics workspace table, currently only support updating retention time.
az monitor log-analytics workspace table update --name
--resource-group
--retention-time
--workspace-name
[--subscription]
Examples
Update the retention time of a Log Analytics workspace table
az monitor log-analytics workspace table update --resource-group MyResourceGroup --workspace-name MyWorkspace -n MyTable --retention-time 30
Required Parameters
Name of the table.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The data table data retention in days, between 30 and 730. Setting this property to null will default to the workspace retention.
Name of the Log Analytics Workspace.
Optional Parameters
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.