You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following sample adds a log query to a Log Analytics workspace.
24
24
25
25
### Template file
@@ -82,7 +82,7 @@ The following sample adds a log query to a Log Analytics workspace.
82
82
}
83
83
```
84
84
85
-
## Add a log query as a function to a Log Analytics workspace
85
+
## Log query as a function
86
86
The following sample adds a log query as a function to a Log Analytics workspace.
87
87
88
88
### Template file
@@ -151,6 +151,87 @@ The following sample adds a log query as a function to a Log Analytics workspace
151
151
}
152
152
```
153
153
154
+
## Parameterized function
155
+
The following sample adds a log query as a function that uses a parameter to a Log Analytics workspace. A second log query is included that uses the parameterized function.
156
+
157
+
> [!NOTE]
158
+
> Resource template is currently the only method that can be used to parameterized functions. Any log query can use the function once it's installed in the workspace.
0 commit comments