diff --git a/modules/log-analytics-saved-search/README.md b/modules/log-analytics-saved-search/README.md
new file mode 100644
index 0000000..8ee21f3
--- /dev/null
+++ b/modules/log-analytics-saved-search/README.md
@@ -0,0 +1,41 @@
+
+## Requirements
+
+| Name | Version |
+|------|---------|
+| [terraform](#requirement\_terraform) | >= 1.2 |
+| [azurerm](#requirement\_azurerm) | ~> 3.34 |
+
+## Providers
+
+| Name | Version |
+|------|---------|
+| [azurerm](#provider\_azurerm) | 3.69.0 |
+
+## Modules
+
+No modules.
+
+## Resources
+
+| Name | Type |
+|------|------|
+| [azurerm_log_analytics_saved_search.search](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/log_analytics_saved_search) | resource |
+
+## Inputs
+
+| Name | Description | Type | Default | Required |
+|------|-------------|------|---------|:--------:|
+| [category](#input\_category) | The category under which the saved search will be displayed. | `string` | n/a | yes |
+| [function\_parameters](#input\_function\_parameters) | A list of parameter definitions (strings) in the following format: `param_name:type=default_value`. | `set(string)` | `null` | no |
+| [log\_analytics\_workspace\_id](#input\_log\_analytics\_workspace\_id) | The ID of the Log Analytics workspace with which the saved search will be associated. | `string` | n/a | yes |
+| [name](#input\_name) | The name of the saved search. | `string` | n/a | yes |
+| [query](#input\_query) | The KQL query for the saved search. | `string` | n/a | yes |
+| [tags](#input\_tags) | A mapping of tags to assign to the resource. | `map(string)` | `{}` | no |
+
+## Outputs
+
+| Name | Description |
+|------|-------------|
+| [id](#output\_id) | The unique identifier of the saved search. |
+
diff --git a/modules/log-analytics-saved-search/main.tf b/modules/log-analytics-saved-search/main.tf
index 93ad8e5..d717299 100644
--- a/modules/log-analytics-saved-search/main.tf
+++ b/modules/log-analytics-saved-search/main.tf
@@ -14,13 +14,13 @@ terraform {
resource "azurerm_log_analytics_saved_search" "search" {
name = var.name
- display_name = coalesce(var.display_name, var.name)
+ display_name = var.name
category = var.category
log_analytics_workspace_id = var.log_analytics_workspace_id
query = var.query
- function_alias = var.function_alias
+ function_alias = var.name
function_parameters = var.function_parameters
tags = var.tags
diff --git a/modules/log-analytics-saved-search/vars.tf b/modules/log-analytics-saved-search/vars.tf
index 10fde3f..83d296e 100644
--- a/modules/log-analytics-saved-search/vars.tf
+++ b/modules/log-analytics-saved-search/vars.tf
@@ -3,12 +3,6 @@ variable "name" {
type = string
}
-variable "display_name" {
- description = "The friendly display name of the saved search."
- type = string
- default = null
-}
-
variable "category" {
description = "The category under which the saved search will be displayed."
type = string
@@ -24,12 +18,6 @@ variable "query" {
type = string
}
-variable "function_alias" {
- description = "The function alias if the query serves as a function."
- type = string
- default = null
-}
-
variable "function_parameters" {
description = "A list of parameter definitions (strings) in the following format: `param_name:type=default_value`."
type = set(string)