Skip to content

Commit b1196db

Browse files
authored
Merge pull request #99380 from sidramadoss/patch-56
Update stream-analytics-job-diagnostic-logs.md
2 parents ed8712e + ea7a650 commit b1196db

File tree

4 files changed

+5
-9
lines changed

4 files changed

+5
-9
lines changed
24.9 KB
Loading
465 KB
Loading
522 KB
Loading

articles/stream-analytics/stream-analytics-job-diagnostic-logs.md

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -61,19 +61,15 @@ Turning on diagnostic logs and sending them to Azure Monitor logs is highly reco
6161

6262
![Settings for diagnostics logs](./media/stream-analytics-job-diagnostic-logs/diagnostic-settings.png)
6363

64-
3. When your Stream Analytics job starts, diagnostic logs are routed to your Log Analytics workspace. Navigate to the Log Analytics workspace and choose **Logs** under the **General** section.
64+
3. When your Stream Analytics job starts, diagnostic logs are routed to your Log Analytics workspace. To view diagnostic logs for your job, select **Logs** under the **Monitoring** section.
6565

66-
![Azure Monitor logs under general section](./media/stream-analytics-job-diagnostic-logs/log-analytics-logs.png)
66+
![Diagnostic Logs under Monitoring](./media/stream-analytics-job-diagnostic-logs/diagnostic-logs.png)
6767

68-
4. You can [write your own query](../azure-monitor/log-query/get-started-portal.md) to search for terms, identify trends, analyze patterns, and provide insights based on your data. For example, you can write a query to filter only diagnostic logs that have the message “The streaming job failed.” Diagnostic logs from Azure Stream Analytics are stored in the **AzureDiagnostics** table.
68+
4. Stream Analytics provides pre-defined queries that allows you to easily search for the logs that you are interested in. The 3 categories are **General**, **Input data errors** and **Output data errors**. For example, to see a summary of all the errors of your job in the last 7 days, you can select **Run** of the appropriate pre-defined query.
6969

70-
![Diagnostics query and results](./media/stream-analytics-job-diagnostic-logs/diagnostic-logs-query.png)
70+
![Diagnostic Logs under Monitoring](./media/stream-analytics-job-diagnostic-logs/logs-categories.png)
7171

72-
5. When you have a query that is searching for the right logs, save it by selecting **Save** and provide a Name and Category. You can then create an alert by selecting **New alert rule**. Next, specify the alert condition. Select **Condition** and enter the threshold value and the frequency at which this custom log search is evaluated.
73-
74-
![Diagnostic log search query](./media/stream-analytics-job-diagnostic-logs/search-query.png)
75-
76-
6. Choose the action group and specify alert details, like name and description, before you can create the alert rule. You can route the diagnostic logs of various jobs to the same Log Analytics workspace. This allows you to set up alerts once that work across all jobs.
72+
![Results of logs](./media/stream-analytics-job-diagnostic-logs/logs-result.png)
7773

7874
## Diagnostics log categories
7975

0 commit comments

Comments
 (0)