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
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b37936-2c0b0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b37936-2c0b0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?