How does bash restrict output to the command line interface?

I would like to ask you prawns, how to restrict the output of the command line?

take zookeeper as an example:

[root@zookeeper1 bin]-sharp ./zkServer.sh status
JMX enabled by default
Using config: /usr/zookeeper/bin/../conf/zoo.cfg
Mode: follower

I want to output only Mode: follower, instead of the above two lines. What should I do besides modifying the zkServer.sh file?
. / zkServer.sh status | tail-1 is incorrect.

Aug.10,2021

./zkServer.sh status 2>&1 | tail -1
Menu