Skip to content

Commit bc00b28

Browse files
authored
Merge pull request #222654 from paulth1/app-articles-batch-14
edit pass: App articles batch 14
2 parents 2920c18 + e4eaf72 commit bc00b28

File tree

6 files changed

+465
-483
lines changed

6 files changed

+465
-483
lines changed
Lines changed: 50 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Automate Azure Application Insights processes by using Logic Apps
2+
title: Automate Application Insights processes by using Logic Apps
33
description: Learn how you can quickly automate repeatable processes by adding the Application Insights connector to your logic app.
44
ms.topic: conceptual
55
ms.date: 07/31/2022
@@ -10,63 +10,64 @@ ms.reviewer: yossi-y
1010

1111
# Automate Application Insights processes by using Logic Apps
1212

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

1515
> [!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.
1717
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.
1919

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

2222
## Create a logic app for Application Insights
2323

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

26-
### Step 1: Create a logic app
26+
### Create a logic app
2727
1. Sign in to the [Azure portal](https://portal.azure.com).
28-
1. Select **Create a resource** > **Web + Mobile** > **Logic App**.
28+
1. Select **Create a resource** > **Web** > **Logic App**.
2929

3030
![Screenshot that shows the New logic app window.](./media/automate-with-logic-apps/1createlogicapp.png)
3131

32-
### Step 2: Create a trigger for your logic app
32+
### Create a trigger for your logic app
3333
1. In the **Logic Apps Designer** window, under **Start with a common trigger**, select **Recurrence**.
3434

35-
![Screenshot that shows the Logic App Designer window.](./media/automate-with-logic-apps/2logicappdesigner.png)
35+
![Screenshot that shows the Logic Apps Designer window.](./media/automate-with-logic-apps/2logicappdesigner.png)
3636

37-
1. In the **Interval** box, type **1** and then,**Frequency** box, select **Day**.
37+
1. In the **Interval** box, enter **1**. In the **Frequency** box, select **Day**.
3838

39-
![Screenshot that shows the Logic Apps Designer "Recurrence" window.](./media/automate-with-logic-apps/3recurrence.png)
39+
![Screenshot that shows the Logic Apps Designer Recurrence window.](./media/automate-with-logic-apps/3recurrence.png)
40+
41+
### Add an Application Insights action
4042

41-
### Step 3: Add an Application Insights action
4243
1. Select **New step**.
4344

44-
1. In the **Choose an action** search box, type **Azure Application Insights**.
45+
1. In the **Choose an action** search box, enter **Application Insights**.
46+
47+
1. Under **Actions**, select **Visualize Analytics query - Azure Application Insights**.
4548

46-
1. Under **Actions**, select **Azure Application Insights - Visualize Analytics query**.
49+
![Screenshot that shows the Logic App Designer Choose an action window.](./media/automate-with-logic-apps/4visualize.png)
4750

48-
![Screenshot that shows the Logic App Designer "Choose an action" window.](./media/automate-with-logic-apps/4visualize.png)
51+
### Connect to an Application Insights resource
4952

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

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**.
5356

54-
1. Select **API access** > **Create API key**:
57+
![Screenshot that shows the API Access page in the Azure portal with the Create API key button selected.](./media/automate-with-logic-apps/5apiaccess.png)
5558

56-
![Screenshot shows the API Access page in the Azure portal with the Create API key button selected.](./media/automate-with-logic-apps/5apiaccess.png)
57-
5859
![Screenshot that shows the Application ID in the Azure portal.](./media/automate-with-logic-apps/6apikey.png)
5960

6061
1. Provide a name for your connection, the application ID, and the API key.
6162

6263
![Screenshot that shows the Logic App Designer flow connection window.](./media/automate-with-logic-apps/7connection.png)
6364

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

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

69-
1. In the **Query** box, add the following Analytics query:
70+
1. In the **Query** box, add the following Log Analytics query:
7071

7172
```
7273
requests
@@ -81,61 +82,53 @@ When you create your own queries, verify that they're working properly in Analyt
8182
8283
1. In the **Chart Type** box, select **Html Table**.
8384
84-
![Screenshot that shows the Analytics query configuration window.](./media/automate-with-logic-apps/8query.png)
85+
![Screenshot that shows the Log Analytics query configuration window.](./media/automate-with-logic-apps/8query.png)
8586
86-
### Step 6: Configure the logic app to send email
87+
### Configure the logic app to send email
8788
8889
1. Select **New step**.
8990
90-
1. In the search box, type **Office 365 Outlook**.
91+
1. In the search box, enter **Office 365 Outlook**.
9192
92-
1. Select **Office 365 Outlook - Send an email**.
93+
1. Select **Send an email - Office 365 Outlook**.
9394
9495
![Screenshot that shows the Send an email button on the Office 365 Outlook screen.](./media/automate-with-logic-apps/9sendemail.png)
9596
9697
1. In the **Send an email** window:
9798
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**.
105103
106104
![Screenshot that shows the Send an email window with the Body box highlighted and the Dynamic content menu with Body highlighted on the right side.](./media/automate-with-logic-apps/10emailbody.png)
107105
108-
![Screenshot that shows the Add new parameter dropdown in the Send an email window with the Attachments and Is HTML checkboxes selected](./media/automate-with-logic-apps/11emailparameter.png)
109-
110-
1. On the dynamic content menu:
106+
![Screenshot that shows the Add new parameter dropdown list in the Send an email window with the Attachments and Is HTML checkboxes selected.](./media/automate-with-logic-apps/11emailparameter.png)
111107
112-
a. Select **Attachment Name**.
108+
1. On the **Dynamic content** menu:
113109
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**.
117113
118-
![Screenshot that shows the Office 365 email configuration screen.](./media/automate-with-logic-apps/12emailattachment.png)
114+
![Screenshot that shows the Office 365 email configuration screen.](./media/automate-with-logic-apps/12emailattachment.png)
119115
120-
### Step 7: Save and test your logic app
116+
### Save and test your logic app
121117
122118
1. Select **Save** to save your changes.
123119
124120
You can wait for the trigger to run the logic app, or you can run the logic app immediately by selecting **Run**.
125-
126-
![Screenshot that shows the Save button on the Logic Apps Designer screen](./media/automate-with-logic-apps/13save.png)
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-
![Image showing email message generated by logic app with query result set](./media/automate-with-logic-apps/email-generated-by-logic-app-generated-email.png)
131121
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+
![Screenshot that shows the Save button on the Logic Apps Designer screen.](./media/automate-with-logic-apps/13save.png)
136123
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+
![Image that shows an email message generated by a logic app with a query result set.](./media/automate-with-logic-apps/email-generated-by-logic-app-generated-email.png)
139127
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.
140130
131+
## Next steps
141132
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).

articles/azure-monitor/app/data-model-trace-telemetry.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,34 @@
11
---
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.
44
ms.topic: conceptual
55
ms.date: 04/25/2017
66
---
77

88
# Trace telemetry: Application Insights data model
99

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 text searched. `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.
1111

1212
## Message
1313

1414
Trace message.
1515

16-
Max length: 32768 characters
16+
**Maximum length**: 32,768 characters
1717

1818
## Severity level
1919

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

2224
## Custom properties
2325

2426
[!INCLUDE [application-insights-data-model-properties](../../../includes/application-insights-data-model-properties.md)]
2527

2628
## Next steps
2729

28-
- [Explore .NET trace logs in Application Insights](./asp-net-trace-logs.md).
29-
- [Explore Java trace logs in Application Insights](./java-in-process-agent.md#autocollected-logs).
30+
- Explore [.NET trace logs in Application Insights](./asp-net-trace-logs.md).
31+
- Explore [Java trace logs in Application Insights](./java-in-process-agent.md#autocollected-logs).
3032
- See [data model](data-model.md) for Application Insights types and data model.
31-
- [Write custom trace telemetry](./api-custom-events-metrics.md#tracktrace)
33+
- Write [custom trace telemetry](./api-custom-events-metrics.md#tracktrace).
3234
- Check out [platforms](./app-insights-overview.md#supported-languages) supported by Application Insights.
33-

0 commit comments

Comments
 (0)