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
title: Automate Azure Application Insights processes by using Logic Apps
2
+
title: Automate Application Insights processes by using Logic Apps
3
3
description: Learn how you can quickly automate repeatable processes by adding the Application Insights connector to your logic app.
4
4
ms.topic: conceptual
5
5
ms.date: 07/31/2022
@@ -10,63 +10,64 @@ ms.reviewer: yossi-y
10
10
11
11
# Automate Application Insights processes by using Logic Apps
12
12
13
-
Do you find yourself repeatedly running the same queries on your telemetry data to check whether your service is functioning properly? Are you looking to automate these queries for finding trends and anomalies and then build your own workflows around them? The Azure Application Insights connector for Logic Apps is the right tool for this purpose.
13
+
Do you find yourself repeatedly running the same queries on your telemetry data to check whether your service is functioning properly? Are you looking to automate these queries for finding trends and anomalies and then build your own workflows around them? The Application Insights connector for Azure Logic Apps is the right tool for this purpose.
14
14
15
15
> [!NOTE]
16
-
> The Azure Application Insights connector has been replaced by the [Azure Monitor connector](../logs/logicapp-flow-connector.md), which is integrated with Azure Active Directory instead of requiring an API key and also allows you to retrieve data from a Log Analytics workspace.
16
+
> The Application Insights connector has been replaced by the [Azure Monitor connector](../logs/logicapp-flow-connector.md). It's integrated with Azure Active Directory instead of requiring an API key. You can also use it to retrieve data from a Log Analytics workspace.
17
17
18
-
With this integration, you can automate numerous processes without writing a single line of code. You can create a logic app with the Application Insights connector to quickly automate any Application Insights process.
18
+
With this integration, you can automate numerous processes without writing a single line of code. You can create a logic app with the Application Insights connector to quickly automate any Application Insights process.
19
19
20
-
You can also add other actions. The Logic Apps feature of Azure App Service makes hundreds of actions available. For example, by using a logic app, you can automatically send an email notification or create a bug in Azure DevOps. You can also use one of the many available [templates](../../logic-apps/logic-apps-create-logic-apps-from-templates.md) to help speed up the process of creating your logic app.
20
+
You can also add other actions. The Logic Apps feature of Azure App Service makes hundreds of actions available. For example, by using a logic app, you can automatically send an email notification or create a bug in Azure DevOps. You can also use one of the many available [templates](../../logic-apps/logic-apps-create-logic-apps-from-templates.md) to help speed up the process of creating your logic app.
21
21
22
22
## Create a logic app for Application Insights
23
23
24
-
In this tutorial, you learn how to create a logic app that uses the Analytics autocluster algorithm to group attributes in the data for a web application. The flow automatically sends the results by email, just one example of how you can use Application Insights Analytics and Logic Apps together.
24
+
In this tutorial, you learn how to create a logic app that uses the Log Analytics autocluster algorithm to group attributes in the data for a web application. The flow automatically sends the results by email. This example shows how you can use Application Insights analytics and Logic Apps together.
25
25
26
-
### Step 1: Create a logic app
26
+
### Create a logic app
27
27
1. Sign in to the [Azure portal](https://portal.azure.com).

47
50
48
-

51
+
### Connect to an Application Insights resource
49
52
50
-
### Step 4: Connect to an Application Insights resource
53
+
For this step, you need an application ID and an API key for your resource.
51
54
52
-
To complete this step, you need an application ID and an API key for your resource:
55
+
1. Select **API Access** > **Create API key**.
53
56
54
-
1. Select **API access** > **Create API key**:
57
+

55
58
56
-

57
-
58
59

59
60
60
61
1. Provide a name for your connection, the application ID, and the API key.
61
62
62
63

63
64
64
-
### Step 5: Specify the Analytics query and chart type
65
-
In the following example, the query selects the failed requests within the last day and correlates them with exceptions that occurred as part of the operation. Analytics correlates the failed requests, based on the operation_Id identifier. The query then segments the results by using the autocluster algorithm.
65
+
### Specify the Log Analytics query and chart type
66
+
In the following example, the query selects the failed requests within the last day and correlates them with exceptions that occurred as part of the operation. Log Analytics correlates the failed requests based on the `operation_Id` identifier. The query then segments the results by using the autocluster algorithm.
66
67
67
-
When you create your own queries, verify that they're working properly in Analytics before you add it to your flow.
68
+
When you create your own queries, verify that they're working properly in Log Analytics before you add them to your flow.
68
69
69
-
1. In the **Query** box, add the following Analytics query:
70
+
1. In the **Query** box, add the following Log Analytics query:
70
71
71
72
```
72
73
requests
@@ -81,61 +82,53 @@ When you create your own queries, verify that they're working properly in Analyt
81
82
82
83
1. In the **Chart Type** box, select **Html Table**.
83
84
84
-

85
+

85
86
86
-
### Step 6: Configure the logic app to send email
87
+
### Configure the logic app to send email
87
88
88
89
1. Select **New step**.
89
90
90
-
1. In the search box, type **Office 365 Outlook**.
91
+
1. In the search box, enter **Office 365 Outlook**.
91
92
92
-
1. Select **Office 365 Outlook - Send an email**.
93
+
1. Select **Send an email - Office 365 Outlook**.
93
94
94
95

95
96
96
97
1. In the **Send an email** window:
97
98
98
-
a. Type the email address of the recipient.
99
-
100
-
b. Type a subject for the email.
101
-
102
-
c. Select anywhere in the **Body** box and then, on the dynamic content menu that opens at the right, select **Body**.
103
-
104
-
d. Select the **Add new parameter** dropdown and select Attachments and Is HTML.
99
+
1. Enter the email address of the recipient.
100
+
1. Enter a subject for the email.
101
+
1. Select anywhere in the **Body** box. On the **Dynamic content** menu that opens at the right, select **Body**.
102
+
1. Select the **Add new parameter** dropdown list and select **Attachments** and **Is HTML**.
105
103
106
104

107
105
108
-

109
-
110
-
1. On the dynamic content menu:
106
+

111
107
112
-
a. Select **Attachment Name**.
108
+
1. On the **Dynamic content** menu:
113
109
114
-
b. Select **Attachment Content**.
115
-
116
-
c. In the **Is HTML** box, select **Yes**.
110
+
1. Select **Attachment Name**.
111
+
1. Select **Attachment Content**.
112
+
1. In the **Is HTML** box, select **Yes**.
117
113
118
-

114
+

119
115
120
-
### Step 7: Save and test your logic app
116
+
### Save and test your logic app
121
117
122
118
1. Select **Save** to save your changes.
123
119
124
120
You can wait for the trigger to run the logic app, or you can run the logic app immediately by selecting **Run**.
125
-
126
-

127
-
128
-
When your logic app runs, the recipients you specified in the email list will receive an email that looks like this:
129
-
130
-

131
121
132
-
> [!NOTE]
133
-
> The log app generates an email with a JPG file that depicts the query result set. If your query doesn't return results, the logic app won't create a JPG file.
134
-
135
-
## Next steps
122
+

136
123
137
-
- Learn more about creating [Analytics queries](../logs/get-started-queries.md).
138
-
- Learn more about [Logic Apps](../../logic-apps/logic-apps-overview.md).
124
+
When your logic app runs, the recipients you specified in the email list will receive an email that looks like this example:
125
+
126
+

139
127
128
+
> [!NOTE]
129
+
> The log app generates an email with a JPG file that depicts the query result set. If your query doesn't return results, the logic app won't create a JPG file.
140
130
131
+
## Next steps
141
132
133
+
- Learn more about creating [Log Analytics queries](../logs/get-started-queries.md).
134
+
- Learn more about [Logic Apps](../../logic-apps/logic-apps-overview.md).
Copy file name to clipboardExpand all lines: articles/azure-monitor/app/data-model-trace-telemetry.md
+10-9Lines changed: 10 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,33 +1,34 @@
1
1
---
2
-
title: Azure Application Insights Data Model - Trace Telemetry
3
-
description: Application Insights data model for trace telemetry
2
+
title: 'Application Insights data model: Trace telemetry'
3
+
description: Application Insights data model for trace telemetry.
4
4
ms.topic: conceptual
5
5
ms.date: 04/25/2017
6
6
---
7
7
8
8
# Trace telemetry: Application Insights data model
9
9
10
-
Trace telemetry (in [Application Insights](./app-insights-overview.md)) represents `printf`style trace statements that are text-searched. `Log4Net`, `NLog`, and other text-based log file entries are translated into instances of this type. The trace does not have measurements as an extensibility.
10
+
Trace telemetry in [Application Insights](./app-insights-overview.md) represents `printf`-style trace statements that are textsearched. `Log4Net`, `NLog`, and other text-based log file entries are translated into instances of this type. The trace doesn't have measurements as an extensibility.
11
11
12
12
## Message
13
13
14
14
Trace message.
15
15
16
-
Max length: 32768 characters
16
+
**Maximum length**: 32,768 characters
17
17
18
18
## Severity level
19
19
20
-
Trace severity level. Value can be `Verbose`, `Information`, `Warning`, `Error`, `Critical`.
20
+
Trace severity level.
21
+
22
+
**Values**: `Verbose`, `Information`, `Warning`, `Error`, and `Critical`
0 commit comments