Skip to content

Commit 0b706f3

Browse files
authored
Merge pull request #89056 from dagiro/cats148
cats148
2 parents e9e08be + 9709bd4 commit 0b706f3

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

articles/hdinsight/kafka/apache-kafka-log-analytics-operations-management.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
22
title: Azure Monitor logs for Apache Kafka - Azure HDInsight
33
description: Learn how to use Azure Monitor logs to analyze logs from Apache Kafka cluster on Azure HDInsight.
4-
ms.service: hdinsight
54
author: hrasheed-msft
65
ms.author: hrasheed
76
ms.reviewer: jasonh
7+
ms.service: hdinsight
88
ms.custom: hdinsightactive
99
ms.topic: conceptual
1010
ms.date: 05/02/2019
@@ -38,7 +38,7 @@ The steps to enable Azure Monitor logs for HDInsight are the same for all HDInsi
3838
* Disk usage:
3939

4040
```kusto
41-
Perf
41+
Perf
4242
| 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 "-"))
4343
| summarize AggregatedValue = avg(CounterValue) by Computer, bin(TimeGenerated, 1h)
4444
```
@@ -77,17 +77,17 @@ The steps to enable Azure Monitor logs for HDInsight are the same for all HDInsi
7777
7878
> [!IMPORTANT]
7979
> 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+
8181
You can also enter `*` to search all types logged. Currently the following logs are available for queries:
82-
82+
8383
| Log type | Description |
8484
| ---- | ---- |
8585
| log\_kafkaserver\_CL | Kafka broker server.log |
8686
| log\_kafkacontroller\_CL | Kafka broker controller.log |
8787
| metrics\_kafka\_CL | Kafka JMX metrics |
88-
89-
![Image of the CPU usage search](./media/apache-kafka-log-analytics-operations-management/apache-kafka-cpu-usage.png)
90-
88+
89+
![Apache kafka log analytics cpu usage](./media/apache-kafka-log-analytics-operations-management/apache-kafka-cpu-usage.png)
90+
9191
## Next steps
9292
9393
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).

articles/hdinsight/kafka/apache-kafka-mirroring.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ This architecture features two clusters in different resource groups and virtual
7979
1. Click **Add**.
8080
1. On the **Add peering** screen, enter the details as shown in the screenshot below.
8181

82-
![add vnet peering](./media/apache-kafka-mirroring/hdi-add-vnet-peering.png)
82+
![HDInsight Kafka add vnet peering](./media/apache-kafka-mirroring/hdi-add-vnet-peering.png)
8383

8484
1. Configure IP advertising:
8585
1. Go to the Ambari dashboard for the primary cluster: `https://PRIMARYCLUSTERNAME.azurehdinsight.net`.
@@ -99,7 +99,7 @@ This architecture features two clusters in different resource groups and virtual
9999
1. Click **Ok** on the **Save Configuration Changes**.
100100
1. Click **Restart** > **Restart All Affected** in the **Restart Required** notification. Click **Confirm Restart All**.
101101
102-
![restart kafka nodes](./media/apache-kafka-mirroring/ambari-restart-notification.png)
102+
![Apache Ambari restart all affected](./media/apache-kafka-mirroring/ambari-restart-notification.png)
103103
104104
1. Configure Kafka to listen on all network interfaces.
105105
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
110110
1. Click **Hosts** on the Ambari dashboard.
111111
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.
112112
113-
![view ip addresses](./media/apache-kafka-mirroring/view-node-ip-addresses2.png)
113+
![Apache Ambari view node ip addresses](./media/apache-kafka-mirroring/view-node-ip-addresses2.png)
114114
115115
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.
116116
@@ -246,7 +246,7 @@ This architecture features two clusters in different resource groups and virtual
246246
6. Change the value of `auto.create.topics.enable` to true, and then select __Save__. Add a note, and then select __Save__ again.
247247
7. Select the __Kafka__ service, select __Restart__, and then select __Restart all affected__. When prompted, select __Confirm restart all__.
248248
249-
![configure topic auto creation](./media/apache-kafka-mirroring/kafka-enable-auto-create-topics.png)
249+
![kafka enable auto create topics](./media/apache-kafka-mirroring/kafka-enable-auto-create-topics.png)
250250
251251
## Start MirrorMaker
252252

0 commit comments

Comments
 (0)