[ https://issues.apache.org/jira/browse/KAFKA-13508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17859892#comment-17859892 ]
Ksolves commented on KAFKA-13508: --------------------------------- [~suyashtava] The output format of above command for 3 node clusters is as follows: {code:java} { "brokers": [ { "broker": 1, "logDirs": [ { } ] }, { "broker": 2, "logDirs": [ { } ] } ] }{code} s > Introduction of "-head" flag for describe tool for broker > --------------------------------------------------------- > > Key: KAFKA-13508 > URL: https://issues.apache.org/jira/browse/KAFKA-13508 > Project: Kafka > Issue Type: Improvement > Components: tools > Reporter: Suyash Srivastava > Priority: Minor > Labels: beginner, features, patch > > {{kafka-log-dirs.sh --bootstrap-server <broker1>:<port1> --describe > --broker-list <broker-ID>}} > This command prints all log directories that results in an output of 500+ > lines, if we only need the broker id's of the brokers that responded to check > connectivity, the command should have an optional flag that shortens the > output to only print broker id's, which leads to decrease in latency. -- This message was sent by Atlassian Jira (v8.20.10#820010)