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
description: Learn how to use Azure Monitor to view, analyze, and create alerts on metrics from Azure Event Hubs.
4
4
ms.topic: conceptual
5
5
ms.custom: subject-monitoring
6
-
ms.date: 02/10/2022
6
+
ms.date: 06/16/2022
7
7
---
8
8
9
9
# Monitor Azure Event Hubs
@@ -58,7 +58,7 @@ If you use **Log Analytics** to store the diagnostic logging information, the in
58
58
59
59
The metrics and logs you can collect are discussed in the following sections.
60
60
61
-
## Analyzing metrics
61
+
## Analyze metrics
62
62
You can analyze metrics for Azure Event Hubs, along with metrics from other Azure services, by selecting **Metrics** from the **Azure Monitor** section on the home page for your Event Hubs namespace. See [Getting started with Azure Metrics Explorer](../azure-monitor/essentials/metrics-getting-started.md) for details on using this tool. For a list of the platform metrics collected, see [Monitoring Azure Event Hubs data reference metrics](monitor-event-hubs-reference.md#metrics).
63
63
64
64

@@ -68,12 +68,12 @@ For reference, you can see a list of [all resource metrics supported in Azure Mo
68
68
> [!TIP]
69
69
> Azure Monitor metrics data is available for 90 days. However, when creating charts only 30 days can be visualized. For example, if you want to visualize a 90 day period, you must break it into three charts of 30 days within the 90 day period.
70
70
71
-
### Filtering and splitting
71
+
### Filter and split
72
72
For metrics that support dimensions, you can apply filters using a dimension value. For example, add a filter with `EntityName` set to the name of an event hub. You can also split a metric by dimension to visualize how different segments of the metric compare with each other. For more information of filtering and splitting, see [Advanced features of Azure Monitor](../azure-monitor/essentials/metrics-charts.md).
73
73
74
74
:::image type="content" source="./media/monitor-event-hubs/metrics-filter-split.png" alt-text="Image showing filtering and splitting metrics":::
75
75
76
-
## Analyzing logs
76
+
## Analyze logs
77
77
Using Azure Monitor Log Analytics requires you to create a diagnostic configuration and enable __Send information to Log Analytics__. For more information, see the [Collection and routing](#collection-and-routing) section. Data in Azure Monitor Logs is stored in tables, with each table having its own set of unique properties. Azure Event Hubs stores data in the following tables: **AzureDiagnostics** and **AzureMetrics**.
78
78
79
79
> [!IMPORTANT]
@@ -134,7 +134,7 @@ Following are sample queries that you can use to help you monitor your Azure Eve
134
134
135
135
```
136
136
137
-
## Using Runtime logs
137
+
## Use runtime logs
138
138
139
139
Azure Event Hubs allows you to monitor and audit data plane interactions of your client applications using runtime audit logs and application metrics logs.
140
140
@@ -144,7 +144,7 @@ Using *Runtime audit logs* you can capture aggregated diagnostic information for
144
144
> [!NOTE]
145
145
> Runtime audit logs are available only in **premium** and **dedicated** tiers.
146
146
147
-
### Enabling Runtime logs
147
+
### Enable runtime logs
148
148
You can enable either runtime audit logs or application metrics logs by selecting *Diagnostic settings* from the *Monitoring* section on the Event Hubs namespace page in Azure Portal. Click on *Add diagnostic setting* as shown below.
149
149
150
150

@@ -154,11 +154,11 @@ Then you can enable log categories *RuntimeAuditLogs* or *ApplicationMetricsLogs
154
154
155
155
Once runtime logs are enabled, Event Hubs will start collecting and storing them according to the diagnostic setting configuration.
156
156
157
-
### Publishing and consuming sample data
157
+
### Publish and consume sample data
158
158
To collect sample runtime audit logs in your Event Hubs namespace, you can publish and consume sample data using client applications which are based on [Event Hubs SDK](../event-hubs/event-hubs-dotnet-standard-getstarted-send.md) (AMQP) or using any [Apache Kafka client application](../event-hubs/event-hubs-quickstart-kafka-enabled-event-hubs.md).
159
159
160
160
161
-
### Analyzing Runtime Audit logs
161
+
### Analyze runtime audit logs
162
162
You can analyze the collected runtime audit logs using the following sample query.
163
163
164
164
```kusto
@@ -173,7 +173,7 @@ Up on the execution of the query you should be able to obtain corresponding audi
173
173
By analyzing these logs you should be able to audit how each client application interacts with Event Hubs. Each feild associated with runtime audit logs are defined in [runtime audit logs reference](../event-hubs/monitor-event-hubs-reference.md#runtime-audit-logs).
174
174
175
175
176
-
### Analyzing Application metrics
176
+
### Analyze application metrics
177
177
You can analyze the collected application metrics logs using the following sample query.
0 commit comments