Re: Zookeeper access logs?

2020-06-23 Thread Patrick Hunt
There is audit capability in newer versions:
https://zookeeper.apache.org/doc/r3.6.1/zookeeperAuditLogs.html

Earlier versions include support for dumping the transaction log (which
goes back a long way):
https://zookeeper.apache.org/doc/r3.6.0/apidocs/zookeeper-server/org/apache/zookeeper/server/LogFormatter.html

For read access you may need to enable logging (log4j) or look at the
connection level metrics.

Patrick

On Tue, Jun 23, 2020 at 3:32 PM rammohan ganapavarapu <
rammohanga...@gmail.com> wrote:

> Hi,
>
> Does the zookeeper have access logs, i wanted to see client reads and
> writes information. Recently we had an incident where some of the clients
> started pounding zk with a lot of reads and it was hard to find which
> client was doing that.
>
> Ram
>


Zookeeper access logs?

2020-06-23 Thread rammohan ganapavarapu
Hi,

Does the zookeeper have access logs, i wanted to see client reads and
writes information. Recently we had an incident where some of the clients
started pounding zk with a lot of reads and it was hard to find which
client was doing that.

Ram