Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-29525

KV Audit - filter out internal users

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 5.5.6
    • 5.5.0
    • ns_server

    Description

      When using KV audit in Couchbase Server 5.5 Beta, there's a lot of noise when eventing is deployed as there's a steady stream of reads/writes to its 'metadata' bucket.  It would be useful to be able to filter out internal users such as @eventing. 

      {"timestamp":"2018-05-03T23:29:17.539938Z","peername":"127.0.0.1:54376","sockname":"127.0.0.1:11210","real_userid":{"source":"memcached","user":"@eventing"},"bucket":"beer-sample-metadata","key":"<ud>add_timer_before_expiry::vb::852</ud>","id":20490,"name":"document modify","description":"Document was modified"}
      {"timestamp":"2018-05-03T23:29:17.551977Z","peername":"127.0.0.1:54372","sockname":"127.0.0.1:11210","real_userid":{"source":"memcached","user":"@eventing"},"bucket":"beer-sample-metadata","key":"<ud>add_timer_before_expiry::vb::97</ud>","id":20490,"name":"document modify","description":"Document was modified"}
      {"timestamp":"2018-05-03T23:29:17.552022Z","peername":"127.0.0.1:54372","sockname":"127.0.0.1:11210","real_userid":{"source":"memcached","user":"@eventing"},"bucket":"beer-sample-metadata","key":"<ud>add_timer_before_expiry::vb::97</ud>","id":20490,"name":"document modify","description":"Document was modified"}
      {"timestamp":"2018-05-03T23:29:17.557483Z","peername":"127.0.0.1:54376","sockname":"127.0.0.1:11210","real_userid":{"source":"memcached","user":"@eventing"},"bucket":"beer-sample-metadata","key":"<ud>add_timer_before_expiry::vb::925</ud>","id":20490,"name":"document modify","description":"Document was modified"}
      {"timestamp":"2018-05-03T23:29:17.557522Z","peername":"127.0.0.1:54376","sockname":"127.0.0.1:11210","real_userid":{"source":"memcached","user":"@eventing"},"bucket":"beer-sample-metadata","key":"<ud>add_timer_before_expiry::vb::925</ud>","id":20490,"name":"document modify","description":"Document was modified"}
      {"timestamp":"2018-05-03T23:29:17.562657Z","peername":"127.0.0.1:54372","sockname":"127.0.0.1:11210","real_userid":{"source":"memcached","user":"@eventing"},"bucket":"beer-sample-metadata","key":"<ud>add_timer_before_expiry::vb::277</ud>","id":20490,"name":"document modify","description":"Document was modified"}

       

      Attachments

        Issue Links

          Activity

            People

              ritam.sharma Ritam Sharma
              ianmccloy Ian McCloy (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty