sentinl: fatal error when restarting kibana

Hello. ELK - version 6.2 sentinl - version 6.2.2

in kibana.yml

sentinl:
  settings:
    email:
      active: true
      host: 'my.smtp.server'
      # user: 'admin'
      # password: 'password'
      # port: 25
      # domain: 'my.domain'
      # ssl: false
      # tls: false
      # authentication: ['PLAIN', 'LOGIN', 'CRAM-MD5', 'XOAUTH2']
      # timeout: 10000  # mail server connection timeout
      # cert:
      #   key: '/full/sys/path/to/key/file'
      #   cert: '/full/sys/path/to/cert/file'
      #   ca: '/full/sys/path/to/ca/file'
    report:
      active: true
      executable_path: '/usr/bin/chromium-browser'
      file:
         pdf:
           format: 'A4'
           landscape: true
         screenshot:
           width: 1280
           height: 900

When i restart kibana (sudo -u kibana bin/kibana), i see error

error  [14:34:33.433] [fatal] ValidationError: child "sentinl" fails because [child "settings" fails because [child "report" fails because ["executable_path" is not allowed, "file" is not allowed]]]
    at Object.exports.process (/usr/share/kibana/node_modules/joi/lib/errors.js:181:19)
    at _validateWithOptions (/usr/share/kibana/node_modules/joi/lib/any.js:651:31)
    at root.validate (/usr/share/kibana/node_modules/joi/lib/index.js:121:23)
    at Config._commit (/usr/share/kibana/src/server/config/config.js:119:35)
    at Config.set (/usr/share/kibana/src/server/config/config.js:89:10)
    at Config.extendSchema (/usr/share/kibana/src/server/config/config.js:62:10)
    at /usr/share/kibana/src/plugin_discovery/plugin_config/extend_config_service.js:22:12
    at next (native)
    at step (/usr/share/kibana/src/plugin_discovery/plugin_config/extend_config_service.js:45:191)
    at /usr/share/kibana/src/plugin_discovery/plugin_config/extend_config_service.js:45:361

What am I doing wrong? Thank you.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 42 (15 by maintainers)

Most upvoted comments

The correct property is called index

                "request" : {
                  "index" : [
                    "filebeat-*"
                  ],

@sergibondarenko No problem. I’ll let you know how it’s ready.

@sergibondarenko from the package.json of the zip mentioned by @shrv

 "name": "sentinl",
  "version": "6.0.0",
  "kibana": {
    "version": "6.2.2"
  },

Maybe if possible we could change the “version” to something like “6.x” to indicate that this version is compatible with the whole line 6.x or we put the exact version while generating the zip