Skip to content

Commit 870e1f1

Browse files
committed
Adding note about classic App Insights resources
1 parent 9440c33 commit 870e1f1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

articles/azure-monitor/logs/functions.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ ms.date: 06/22/2022
1212
# Functions in Azure Monitor log queries
1313
A function is a log query in Azure Monitor that can be used in other log queries as though it's a command. You can use functions to provide solutions to different customers and also reuse query logic in your own environment. This article describes how to use functions and how to create your own.
1414

15+
> [!NOTE]
16+
> Functions are only available from Log Analytics workspaces. If you’re using an existing classic Application Insights resource, you must [migrate it to a workspace-based resource](../app/convert-classic-resource) to work with functions. Choosing to migrate will give you access to the same logs but you need to [validate that a query’s fields align with the new schema fields](../app/convert-classic-resource#table-schemas). After migration, you can use a Log Analytics workspace to query the AzureActivity table, which isn't available for classic resources.
17+
1518
## Types of functions
1619
There are two types of functions in Azure Monitor:
1720

0 commit comments

Comments
 (0)