Skip to content

Commit df20c2e

Browse files
authored
Merge pull request #102576 from orspod/2020-1-ADX-proxy
ADX proxy updates
2 parents d914bd4 + aacab08 commit df20c2e

File tree

3 files changed

+11
-31
lines changed

3 files changed

+11
-31
lines changed
2.48 KB
Loading
6.42 KB
Loading

articles/data-explorer/query-monitor-data.md

Lines changed: 11 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ ms.author: orspodek
77
ms.reviewer: rkarlin
88
ms.service: data-explorer
99
ms.topic: conceptual
10-
ms.date: 07/10/2019
10+
ms.date: 01/28/2020
1111

1212
#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
1313
---
1414

1515
# Query data in Azure Monitor using Azure Data Explorer (Preview)
1616

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.
1818

1919
The Azure Data Explorer proxy flow:
2020

@@ -23,7 +23,7 @@ The Azure Data Explorer proxy flow:
2323
## Prerequisites
2424

2525
> [!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.
2727
2828
## Connect to the proxy
2929

@@ -33,9 +33,10 @@ The Azure Data Explorer proxy flow:
3333

3434
1. In the Azure Data Explorer UI (https://dataexplorer.azure.com/clusters), select **Add Cluster**.
3535

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>`
3940

4041
* Select **Add**.
4142

@@ -49,46 +50,25 @@ The Azure Data Explorer proxy flow:
4950

5051
## Run queries
5152

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.
5354

5455
> [!TIP]
5556
> * Database name should have the same name as the resource specified in the proxy cluster. Names are case sensitive.
5657
> * In cross cluster queries, make sure that the naming of Application Insights apps and Log Analytics workspaces is correct.
5758
> * If names contain special characters, they're replaced by URL encoding in the proxy cluster name.
5859
> * 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.
5960
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
66-
```
67-
68-
![Query StormEvents table](media/adx-proxy/query-adx.png)
69-
70-
### Query against your LA or AI cluster
61+
### Direct query from your LA or AI ADX Proxy cluster
7162

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.
7364

7465
```kusto
7566
Perf | take 10 // Demonstrate query through the proxy on the LA workspace
7667
```
7768

7869
![Query LA workspace](media/adx-proxy/query-la.png)
7970

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
83-
84-
```kusto
85-
cluster('https://ade.loganalytics.io/subscriptions/<subscription-id>/resourcegroups/<resource-group-name>/providers/microsoft.operationalinsights/workspaces/<workspace-name>').database('<workspace-name').Perf
86-
| take 10
87-
```
88-
89-
![Query from Azure Data Explorer proxy](media/adx-proxy/query-adx-proxy.png)
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
9272

9373
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.
9474

0 commit comments

Comments
 (0)