Azure Log Analytics Datasource Windows Event

This page shows how to write Terraform and Azure Resource Manager for Log Analytics Datasource Windows Event and write them securely.

azurerm_log_analytics_datasource_windows_event (Terraform)

The Datasource Windows Event in Log Analytics can be configured in Terraform with the resource name azurerm_log_analytics_datasource_windows_event. The following sections describe 1 example of how to use the resource and its parameters.

Example Usage from GitHub

main.tf#L7
resource "azurerm_log_analytics_datasource_windows_event" "this" {
  event_log_name      = var.event_log_name
  event_types         = var.event_types
  name                = var.name
  resource_group_name = var.resource_group_name
  workspace_name      = var.workspace_name

Review your Terraform file for Azure best practices

Shisho Cloud, our free checker to make sure your Terraform configuration follows best practices, is available (beta).

Parameters

Explanation in Terraform Registry

Manages a Log Analytics Windows Event 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 Event?

Azure Log Analytics Datasource Windows Event 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 Event?

For Terraform, the niveklabs/azurerm source code example is useful. See the Terraform Example section for further details.