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

system event log has mix of atoms/binaries in entries

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • Morpheus
    • 7.6.4
    • ns_server
    • None
    • Untriaged
    • 0
    • Unknown

    Description

      I noticed the system event log has some components creating entries
      with binaries and some with atoms (when viewed with server eshell:

      (n_0@127.0.0.1)1> rp(event_log_server:recent()).
      

      It looks like ns_server and data use atoms while the rest use binaries.
      Was this intentional? The reason I ask is I have a ticket to filter events
      based on, for example, component. So for some services it's 'component'
      and for others it's <<"component">>.

        [{<<"component">>,<<"indexing">>},
          {<<"uuid">>,<<"85d252e3-ae08-4ec3-87a4-ed6fb41eedc5">>},
          {<<"timestamp">>,<<"2024-06-24T23:02:40.003Z">>},
          {<<"sub_component">>,<<"Indexer">>},
          {<<"severity">>,<<"info">>},
          {<<"event_id">>,2048},
          {<<"description">>,<<"Indexer Settings Changed">>},
       
         [{timestamp,<<"2024-06-24T23:02:25.313Z">>},
          {event_id,3},
          {component,ns_server},
          {description,<<"Rebalance completed">>},
          {severity,info},
          {node,<<"127.0.0.1">>},
          {otp_node,'n_0@127.0.0.1'},
          {uuid,<<"6b4a123e-80c8-47a9-aba4-c30862546aca">>},
       
         [{<<"component">>,<<"analytics">>},
          {<<"uuid">>,<<"00934d96-95f0-471c-b7a7-7f2e36c57723">>},
          {<<"timestamp">>,<<"2024-06-24T23:02:24.965Z">>},
          {<<"sub_component">>,<<"cbas">>},
          {<<"severity">>,<<"info">>},
          {<<"event_id">>,5125},
          {<<"description">>,
           <<"Analytics Topology Change Completed">>},
       
         [{timestamp,<<"2024-06-24T23:02:06.500Z">>},
          {event_id,8199},
          {component,data},
          {description,<<"Bucket online">>},
          {severity,info},
          {node,<<"127.0.0.1">>},
          {otp_node,'n_1@127.0.0.1'},
          {uuid,<<"9f06b007-dad3-4b0d-8fa2-41dc76c828e9">>},
       
         [{<<"timestamp">>,<<"2024-06-24T23:01:51.735Z">>},
          {<<"uuid">>,<<"3f86662f-7aa4-13d0-00d4-3a021f4857e2">>},
          {<<"event_id">>,10243},
          {<<"component">>,<<"views">>},
          {<<"description">>,<<"view engine settings changed">>},
          {<<"severity">>,<<"info">>},
       
         [{<<"event_id">>,3072},
          {<<"uuid">>,<<"34303631-3432-4161-b563-363838333937">>},
          {<<"timestamp">>,<<"2024-06-24T23:01:40.889Z">>},
          {<<"component">>,<<"search">>},
          {<<"severity">>,<<"info">>},
          {<<"description">>,<<"Search Service started">>},
       
         [{<<"uuid">>,<<"fa6085ed-fcf0-45b0-a598-c31acbb0da0d">>},
          {<<"component">>,<<"query">>},
          {<<"event_id">>,1025},
          {<<"description">>,<<"Configuration changed">>},
          {<<"severity">>,<<"info">>},
          {<<"timestamp">>,<<"2024-06-24T23:01:40.673Z">>},
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Abhijeeth.Nuthan Abhijeeth Nuthan
            steve.watanabe Steve Watanabe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty