From user-return-12867-archive-asf-public=cust-asf.ponee.io@zookeeper.apache.org Wed Jun 24 15:49:41 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 56691180633 for ; Wed, 24 Jun 2020 17:49:41 +0200 (CEST) Received: (qmail 35668 invoked by uid 500); 24 Jun 2020 15:49:39 -0000 Mailing-List: contact user-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@zookeeper.apache.org Delivered-To: mailing list user@zookeeper.apache.org Received: (qmail 35647 invoked by uid 99); 24 Jun 2020 15:49:39 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Jun 2020 15:49:39 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id CD28A1A421E for ; Wed, 24 Jun 2020 15:49:38 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.001 X-Spam-Level: X-Spam-Status: No, score=-0.001 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-ec2-va.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id aBOAkUbiJ1ef for ; Wed, 24 Jun 2020 15:49:37 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.219.68; helo=mail-qv1-f68.google.com; envelope-from=rammohanganap@gmail.com; receiver= Received: from mail-qv1-f68.google.com (mail-qv1-f68.google.com [209.85.219.68]) by mx1-ec2-va.apache.org (ASF Mail Server at mx1-ec2-va.apache.org) with ESMTPS id C5BA1BB8F8 for ; Wed, 24 Jun 2020 15:49:36 +0000 (UTC) Received: by mail-qv1-f68.google.com with SMTP id cv17so1233663qvb.13 for ; Wed, 24 Jun 2020 08:49:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=tqkGwYeTZivHQ9CfKNYPX10oVX+4Ma+Na9FIfGJDZeE=; b=dybiJNZsQqWrSfy9OE/LhdahDxMnSC7UcwXa4fR7oMVMHXXWM3P95EN2kqm+szE6+V Y6J7bUq6oLCFsKiZyBmfNTrLHGAr2cHCcFgePI0PakbPHcB9aqkv9LipW7hn92TjM4fR 19Yg9Qf2LPPI0Vbo1h0k0O8nz4gEzqtQ79ezak8WeJi/wUjmjMbDMCgyvUE3LwLIkriL gf/L+PoatScIgXDSFvFTiRP+sQY8FOSUeRSlkfJYgGtpufqe7BXE6itu2SmqnR3FBoFe hawXGTlbGPxllaZL3oq1aNyUSllovi3blmwsmZUDVnLdOjD76SAIBl853sg4YZ3nUHl7 AYVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=tqkGwYeTZivHQ9CfKNYPX10oVX+4Ma+Na9FIfGJDZeE=; b=l8rjgiyHJDhkyunDfXu6hxuiS5ZWVg8RF72EWKoGKkJa2cKLPOwl8dN1PMAow/Qt1n yAevHnzx2UoRwx5nwhdiT89lbgwL+o77GMc38C0TsaWUOBZTM1W1F0JRTY9CiKLxEPEz 0ow2Xw7dK0bO/0B6t0OCm2KV9kZCHm5wqEo4YSlsStn3BBpmskViTlNUzr2Livq3UvzS kM1F2iqdnq8xVkcymXgU5xVbJNNaYHybSK8Df/3srnnXlk7Mhnsz5XjXZoodVFkaqrca pDY1skaZKhYMNv1oufMGIEdfI6A2nIBsqXWV87D8ThWUe0Lby2kQbqktx6oDlskLD/5f 7inA== X-Gm-Message-State: AOAM5310CKTyKYTgstKzRF2MCkylHLmqS8PdMTf5YySFBaN9oRLL/vaE hDGV0z6Bhc589vIfOdy3m/kn1EklfdsWzTY+LItJzobK X-Google-Smtp-Source: ABdhPJwq2pnCLVH+FHpQiA+QGcGa6BEcEzr9EoKmeiwv0e9T7g+sLG28KHC1A3wJQuzM4oF1nKJqChBA03jL1M6v5Y0= X-Received: by 2002:a0c:a993:: with SMTP id a19mr6831554qvb.34.1593013776194; Wed, 24 Jun 2020 08:49:36 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: rammohan ganapavarapu Date: Wed, 24 Jun 2020 08:48:59 -0700 Message-ID: Subject: Re: Zookeeper access logs? To: user@zookeeper.apache.org Content-Type: multipart/alternative; boundary="00000000000040aa6d05a8d66c0c" --00000000000040aa6d05a8d66c0c Content-Type: text/plain; charset="UTF-8" Partrick, Thanks for the references, so what loglevel i should be setting to log read access? I can't rely on connections as the client may be using a pool and it doesn't translate well with number of reads and writes by a client right? Ram On Tue, Jun 23, 2020 at 3:55 PM Patrick Hunt wrote: > 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 < > rammohanganap@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 > > > --00000000000040aa6d05a8d66c0c--