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
Copy file name to clipboardExpand all lines: articles/data-explorer/query-monitor-data.md
+11-31Lines changed: 11 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,14 +7,14 @@ ms.author: orspodek
7
7
ms.reviewer: rkarlin
8
8
ms.service: data-explorer
9
9
ms.topic: conceptual
10
-
ms.date: 07/10/2019
10
+
ms.date: 01/28/2020
11
11
12
12
#Customer intent: I want to query data in Azure Monitor using Azure Data Explorer by creating an Azure Data Explorer (ADX) proxy for cross product queries with Log Analytics and Application Insights
13
13
---
14
14
15
15
# Query data in Azure Monitor using Azure Data Explorer (Preview)
16
16
17
-
The Azure Data Explorer proxy cluster (ADX Proxy) is an entity that enables you to perform cross product queries between Azure Data Explorer, [Application Insights (AI)](/azure/azure-monitor/app/app-insights-overview), and [Log Analytics (LA)](/azure/azure-monitor/platform/data-platform-logs) in the [Azure Monitor](/azure/azure-monitor/) service. You can map Azure Monitor Log Analytics workspaces or Application Insights apps as a proxy cluster. You can then query the proxy cluster using Azure Data Explorer tools and refer to it in a cross cluster query. The article shows how to connect to a proxy cluster, add a proxy cluster to Azure Data Explorer Web UI, and run queries against your AI apps or LA workspaces from Azure Data Explorer.
17
+
The Azure Data Explorer proxy cluster (ADX Proxy) is an entity that enables you to perform cross product queries between Azure Data Explorer, [Application Insights (AI)](/azure/azure-monitor/app/app-insights-overview), and [Log Analytics (LA)](/azure/azure-monitor/platform/data-platform-logs) in the [Azure Monitor](/azure/azure-monitor/) service. You can map Azure Monitor Log Analytics workspaces or Application Insights apps as proxy clusters. You can then query the proxy cluster using Azure Data Explorer tools and refer to it in a cross cluster query. The article shows how to connect to a proxy cluster, add a proxy cluster to Azure Data Explorer Web UI, and run queries against your AI apps or LA workspaces from Azure Data Explorer.
18
18
19
19
The Azure Data Explorer proxy flow:
20
20
@@ -23,7 +23,7 @@ The Azure Data Explorer proxy flow:
23
23
## Prerequisites
24
24
25
25
> [!NOTE]
26
-
> The ADX Proxy is in preview mode. To enable this feature, contact the [ADXProxy](mailto:[email protected]) team.
26
+
> The ADX Proxy is in preview mode. [Connect to the proxy](#connect-to-the-proxy) to enable the ADX proxy feature for your clusters. Contact the [ADXProxy](mailto:[email protected]) team with any questions.
27
27
28
28
## Connect to the proxy
29
29
@@ -33,9 +33,10 @@ The Azure Data Explorer proxy flow:
33
33
34
34
1. In the Azure Data Explorer UI (https://dataexplorer.azure.com/clusters), select **Add Cluster**.
35
35
36
-
1. In the **Add Cluster** window:
37
-
38
-
* Add the URL to the LA or AI cluster. For example: `https://ade.loganalytics.io/subscriptions/<subscription-id>/resourcegroups/<resource-group-name>/providers/microsoft.operationalinsights/workspaces/<workspace-name>`
36
+
1. In the **Add Cluster** window, add the URL to the LA or AI cluster.
37
+
38
+
* For LA: `https://ade.loganalytics.io/subscriptions/<subscription-id>/resourcegroups/<resource-group-name>/providers/microsoft.operationalinsights/workspaces/<workspace-name>`
39
+
* For AI: `https://ade.applicationinsights.io/subscriptions/<subscription-id>/resourcegroups/<resource-group-name>/providers/microsoft.insights/components/<ai-app-name>`
39
40
40
41
* Select **Add**.
41
42
@@ -49,46 +50,25 @@ The Azure Data Explorer proxy flow:
49
50
50
51
## Run queries
51
52
52
-
You can use Kusto Explorer, ADX web Explorer, Jupyter Kqlmagic, or REST API to query the proxy clusters.
53
+
You can run the queries using client tools that support Kusto queries, such as: Kusto Explorer, ADX Web UI, Jupyter Kqlmagic, Flow, PowerQuery, PowerShell, Jarvis, Lens, REST API.
53
54
54
55
> [!TIP]
55
56
> * Database name should have the same name as the resource specified in the proxy cluster. Names are case sensitive.
56
57
> * In cross cluster queries, make sure that the naming of Application Insights apps and Log Analytics workspaces is correct.
57
58
> * If names contain special characters, they're replaced by URL encoding in the proxy cluster name.
58
59
> * If names include characters that don't meet [KQL identifier name rules](/azure/kusto/query/schema-entities/entity-names), they are replaced by the dash **-** character.
59
60
60
-
### Query against the native Azure Data Explorer cluster
61
-
62
-
Run queries on your Azure Data Explorer cluster (such as *StormEvents* table in *help* cluster). When running the query, verify that your native Azure Data Explorer cluster is selected in the left pane.
63
-
64
-
```kusto
65
-
StormEvents | take 10 // Demonstrate query through the native ADX cluster
### Direct query from your LA or AI ADX Proxy cluster
71
62
72
-
When you run queries on your LA or AL cluster, verify that your LA or AI cluster is selected in the left pane.
63
+
Run queries on your LA or AI cluster. Verify that your cluster is selected in the left pane.
73
64
74
65
```kusto
75
66
Perf | take 10 // Demonstrate query through the proxy on the LA workspace
76
67
```
77
68
78
69

79
70
80
-
### Query your LA or AI cluster from the ADX proxy
81
-
82
-
When you run queries on your LA or AI cluster from the proxy, verify your ADX native cluster is selected in the left pane. The following example demonstrates a query of the LA workspace using the native ADX cluster

90
-
91
-
### Cross query of LA or AI cluster and the ADX cluster from the ADX proxy
71
+
### Cross query of your LA or AI ADX Proxy cluster and the ADX native cluster
92
72
93
73
When you run cross cluster queries from the proxy, verify your ADX native cluster is selected in the left pane. The following examples demonstrate combining ADX cluster tables (using `union`) with LA workspace.
0 commit comments