Uploaded image for project: 'Apache IoTDB'
  1. Apache IoTDB
  2. IOTDB-4798

[server] AUDIT LOG CRASH 0.13.4-SNAPSHOT

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.13.4-SNAPSHOT
    • 0.13.4
    • Core/Server
    • None

    Description

      branch: rel/0.13

      build commit: de35bff2867fd7a85758a90f24e60c74f3a70d98

      version: 0.13.4-SNAPSHOT

      java -version:
      openjdk version "11.0.16" 2022-07-19 LTS
      OpenJDK Runtime Environment (Red_Hat-11.0.16.0.8-1.el7_9)
      (build 11.0.16+8-LTS)
      OpenJDK 64-Bit Server VM (Red_Hat-11.0.16.0.8-1.el7_9) (bu
      ild 11.0.16+8-LTS, mixed mode, sharing)
       
      OS:CentOS Linux release 7.9.2009 (Core)
      96C256G100G,2T mnt

       

      append config in iotdb-engine.properties

      #determines whether audit logs are written to log files or IoTDB or not write.choice:LOGGER/IOTDB/NONE

      #Datatype: String
      audit_log_storage=IOTDB0

      iotdb-metric.properties

      enableMetric: true

      metricReporterList:
          - IOTDB
      ioTDBReporterConfig:
          database: metric
       

      IoTDB cli imitate sql :

      IoTDB> login successfully
      IoTDB> insert into root.system.audit.'root'(timestamp,log,type) values (1,'test','test')
      Msg: 322: Storage group is not set for current seriesPath: [root.system.audit.'root'] 

       

       

      前置条件:开启IOTDB监控、配置IOTDB audit storage。 监控可以正常记录数据,audit log 无法正常记录,log_error如上所示,详细配置及日志参考附件

      Attachments

        1. conf.zip
          11 kB
          Xuan Wang
        2. image-2022-10-29-22-48-19-115.png
          223 kB
          Xuan Wang
        3. logs-all.zip
          13.40 MB
          Xuan Wang

        Activity

          People

            Unassigned Unassigned
            critas Xuan Wang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: