Azure Log Analytics Datasource Windows Performance Counter
This page shows how to write Terraform and Azure Resource Manager for Log Analytics Datasource Windows Performance Counter and write them securely.
azurerm_log_analytics_datasource_windows_performance_counter (Terraform)
The Datasource Windows Performance Counter in Log Analytics can be configured in Terraform with the resource name azurerm_log_analytics_datasource_windows_performance_counter
. The following sections describe 1 example of how to use the resource and its parameters.
Example Usage from GitHub
resource "azurerm_log_analytics_datasource_windows_performance_counter" "this" {
counter_name = var.counter_name
instance_name = var.instance_name
interval_seconds = var.interval_seconds
name = var.name
object_name = var.object_name
Parameters
-
counter_name
required - string -
id
optional computed - string -
instance_name
required - string -
interval_seconds
required - number -
name
required - string -
object_name
required - string -
resource_group_name
required - string -
workspace_name
required - string -
timeouts
single block
Explanation in Terraform Registry
Manages a Log Analytics (formally Operational Insights) Windows Performance Counter DataSource.
Microsoft.OperationalInsights/workspaces/datasources (Azure Resource Manager)
The workspaces/datasources in Microsoft.OperationalInsights can be configured in Azure Resource Manager with the resource name Microsoft.OperationalInsights/workspaces/datasources
. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
An example could not be found in GitHub.
Frequently asked questions
What is Azure Log Analytics Datasource Windows Performance Counter?
Azure Log Analytics Datasource Windows Performance Counter is a resource for Log Analytics of Microsoft Azure. Settings can be wrote in Terraform.
Where can I find the example code for the Azure Log Analytics Datasource Windows Performance Counter?
For Terraform, the niveklabs/azurerm source code example is useful. See the Terraform Example section for further details.