Skip to content

Commit ecfb64f

Browse files
authored
Merge pull request #104638 from dagiro/ts_kafka2
ts_kafka2
2 parents a1df0eb + 5779cdf commit ecfb64f

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

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

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.reviewer: jasonh
77
ms.service: hdinsight
88
ms.topic: conceptual
99
ms.custom: hdinsightactive
10-
ms.date: 12/04/2019
10+
ms.date: 02/17/2020
1111
---
1212

1313
# Analyze logs for Apache Kafka on HDInsight
@@ -16,6 +16,18 @@ Learn how to use Azure Monitor logs to analyze logs generated by Apache Kafka on
1616

1717
[!INCLUDE [azure-monitor-log-analytics-rebrand](../../../includes/azure-monitor-log-analytics-rebrand.md)]
1818

19+
## Logs location
20+
21+
Apache Kafka logs in the cluster are located at `/var/log/kafka`. Kafka logs aren't saved or persisted across cluster life cycles, regardless if managed disks are used. The following table shows the available logs.
22+
23+
|Log |Description |
24+
|---|---|
25+
|kafka.out|stdout and stderr of the Kafka process. You'll find Kafka startup and shutdown logs in this file.|
26+
|server.log|The main Kafka server log. All Kafka broker logs end up here.|
27+
|controller.log|Controller logs if the broker is acting as controller.|
28+
|statechange.log|All state change events to brokers are logged in this file.|
29+
|kafka-gc.log|Kafka Garbage Collection stats.|
30+
1931
## Enable Azure Monitor logs for Apache Kafka
2032

2133
The steps to enable Azure Monitor logs for HDInsight are the same for all HDInsight clusters. Use the following links to understand how to create and configure the required services:

0 commit comments

Comments
 (0)