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
Copy file name to clipboardExpand all lines: articles/hdinsight/kafka/apache-kafka-log-analytics-operations-management.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
1
---
2
2
title: Azure Monitor logs for Apache Kafka - Azure HDInsight
3
3
description: Learn how to use Azure Monitor logs to analyze logs from Apache Kafka cluster on Azure HDInsight.
4
-
ms.service: hdinsight
5
4
author: hrasheed-msft
6
5
ms.author: hrasheed
7
6
ms.reviewer: jasonh
7
+
ms.service: hdinsight
8
8
ms.custom: hdinsightactive
9
9
ms.topic: conceptual
10
10
ms.date: 05/02/2019
@@ -38,7 +38,7 @@ The steps to enable Azure Monitor logs for HDInsight are the same for all HDInsi
38
38
* Disk usage:
39
39
40
40
```kusto
41
-
Perf
41
+
Perf
42
42
| where ObjectName == "Logical Disk" and CounterName == "Free Megabytes" and InstanceName == "_Total" and ((Computer startswith_cs "hn" and Computer contains_cs "-") or (Computer startswith_cs "wn" and Computer contains_cs "-"))
43
43
| summarize AggregatedValue = avg(CounterValue) by Computer, bin(TimeGenerated, 1h)
44
44
```
@@ -77,17 +77,17 @@ The steps to enable Azure Monitor logs for HDInsight are the same for all HDInsi
77
77
78
78
> [!IMPORTANT]
79
79
> Replace the query values with your cluster specific information. For example, `ClusterName_s` must be set to the name of your cluster. `HostName_s` must be set to the domain name of a worker node in the cluster.
80
-
80
+
81
81
You can also enter `*` to search all types logged. Currently the following logs are available for queries:

90
-
88
+
89
+

90
+
91
91
## Next steps
92
92
93
93
For more information on Azure Monitor, see [Azure Monitor overview](../../log-analytics/log-analytics-get-started.md), and [Query Azure Monitor logs to monitor HDInsight clusters](../hdinsight-hadoop-oms-log-analytics-use-queries.md).

103
103
104
104
1. Configure Kafka to listen on all network interfaces.
105
105
1. Stay on the **Configs** tab under **Services** > **Kafka**. In the **Kafka Broker** section set the **listeners** property to `PLAINTEXT://0.0.0.0:9092`.
@@ -110,7 +110,7 @@ This architecture features two clusters in different resource groups and virtual
110
110
1. Click **Hosts** on the Ambari dashboard.
111
111
1. Make a note of the IP Addresses for the Brokers and Zookeepers. The broker nodes have **wn** as the first two letters of the host name, and the zookeeper nodes have **zk** as the first two letters of the host name.
112
112
113
-

113
+

114
114
115
115
1. Repeat the previous three steps for the second cluster **kafka-secondary-cluster**: configure IP advertising, set listeners and make a note of the Broker and Zookeeper IP addresses.
116
116
@@ -246,7 +246,7 @@ This architecture features two clusters in different resource groups and virtual
246
246
6. Change the value of `auto.create.topics.enable` to true, and then select __Save__. Add a note, and then select __Save__ again.
247
247
7. Select the __Kafka__ service, select __Restart__, and then select __Restart all affected__. When prompted, select __Confirm restart all__.
248
248
249
-

249
+

0 commit comments