Validation error on Kibana8 upgrade from Kibana7.17

Hi,

I am upgrading installing kibana8 from kibana7.17, and receiving the following error. Are there any leads for the validation type error?

Configuring logger failed: ValidationError: [config validation of [logging].appenders.file]: types that failed validation:
- [config validation of [logging].0.type]: expected value to equal [console]
- [config validation of [logging].1.layout]: expected at least one defined value but got [undefined]
- [config validation of [logging].2.type]: expected value to equal [rewrite]- [config validation of [logging].3.type]: expected value to equal [rolling-file]
    at ObjectType.validate (/mnt1/kibana8/node_modules/@kbn/config-schema/target_node/types/type.js:95:13)
    at ConfigService.validateAtPath (/mnt1/kibana8/node_modules/@kbn/config/target_node/config_service.js:234:19)
    ... 35 lines matching cause stack trace ...
    at Observable.subscribe (/mnt1/kibana8/node_modules/rxjs/dist/cjs/internal/Observable.js:26:24)    at /mnt1/kibana8/node_modules/rxjs/dist/cjs/internal/operators/switchMap.js:17:63
    at OperatorSubscriber._this._next (/mnt1/kibana8/node_modules/rxjs/dist/cjs/internal/operators/OperatorSubscriber.js:33:21)
    at OperatorSubscriber.Subscriber.next (/mnt1/kibana8/node_modules/rxjs/dist/cjs/internal/Subscriber.js:51:18)
    at /mnt1/kibana8/node_modules/rxjs/dist/cjs/internal/Subject.js:69:34    at Object.errorContext (/mnt1/kibana8/node_modules/rxjs/dist/cjs/internal/util/errorContext.js:22:9)
    at ReplaySubject.Subject.next (/mnt1/kibana8/node_modules/rxjs/dist/cjs/internal/Subject.js:59:24)
    at ReplaySubject.next (/mnt1/kibana8/node_modules/rxjs/dist/cjs/internal/ReplaySubject.js:45:31)    at Object.next (/mnt1/kibana8/node_modules/rxjs/dist/cjs/internal/operators/share.js:69:58)
    at ConsumerObserver.next (/mnt1/kibana8/node_modules/rxjs/dist/cjs/internal/Subscriber.js:113:33)
    at SafeSubscriber.Subscriber._next (/mnt1/kibana8/node_modules/rxjs/dist/cjs/internal/Subscriber.js:80:26)
    at SafeSubscriber.Subscriber.next (/mnt1/kibana8/node_modules/rxjs/dist/cjs/internal/Subscriber.js:51:18)
    at /mnt1/kibana8/node_modules/rxjs/dist/cjs/internal/operators/tap.js:21:28 {
  cause: SchemaTypesError: types that failed validation:
      at MapOfType.handleError (/mnt1/kibana8/node_modules/@kbn/config-schema/target_node/types/map_type.js:60:61)
      at MapOfType.onError (/mnt1/kibana8/node_modules/@kbn/config-schema/target_node/types/type.js:132:36)
      at Object.error (/mnt1/kibana8/node_modules/@kbn/config-schema/target_node/types/type.js:79:47)
      at Object.internals.finalize (/mnt1/kibana8/node_modules/joi/lib/validator.js:472:36)
      at Object.internals.rules (/mnt1/kibana8/node_modules/joi/lib/validator.js:406:34)
      at Object.exports.validate (/mnt1/kibana8/node_modules/joi/lib/validator.js:350:22)
      at internals.Base.$_validate (/mnt1/kibana8/node_modules/joi/lib/base.js:773:26)
      at Object.validate (/mnt1/kibana8/node_modules/joi/lib/types/keys.js:108:45)
      at Object.exports.validate (/mnt1/kibana8/node_modules/joi/lib/validator.js:325:26)
      at Object.internals.entry (/mnt1/kibana8/node_modules/joi/lib/validator.js:142:28)
      at Object.exports.entry (/mnt1/kibana8/node_modules/joi/lib/validator.js:27:30)
      at internals.Base.validate (/mnt1/kibana8/node_modules/joi/lib/base.js:548:26)
      at ObjectType.validate (/mnt1/kibana8/node_modules/@kbn/config-schema/target_node/types/type.js:89:29)
      at ConfigService.validateAtPath (/mnt1/kibana8/node_modules/@kbn/config/target_node/config_service.js:234:19)
      at /mnt1/kibana8/node_modules/@kbn/config/target_node/config_service.js:242:169
      at /mnt1/kibana8/node_modules/rxjs/dist/cjs/internal/operators/map.js:10:37
      at OperatorSubscriber._this._next (/mnt1/kibana8/node_modules/rxjs/dist/cjs/internal/operators/OperatorSubscriber.js:33:21)
      at OperatorSubscriber.Subscriber.next (/mnt1/kibana8/node_modules/rxjs/dist/cjs/internal/Subscriber.js:51:18)
      at /mnt1/kibana8/node_modules/rxjs/dist/cjs/internal/operators/distinctUntilChanged.js:18:28      at OperatorSubscriber._this._next (/mnt1/kibana8/node_modules/rxjs/dist/cjs/internal/operators/OperatorSubscriber.js:33:21)
      at OperatorSubscriber.Subscriber.next (/mnt1/kibana8/node_modules/rxjs/dist/cjs/internal/Subscriber.js:51:18)
      at /mnt1/kibana8/node_modules/rxjs/dist/cjs/internal/operators/map.js:10:24
      at OperatorSubscriber._this._next (/mnt1/kibana8/node_modules/rxjs/dist/cjs/internal/operators/OperatorSubscriber.js:33:21)
      at OperatorSubscriber.Subscriber.next (/mnt1/kibana8/node_modules/rxjs/dist/cjs/internal/Subscriber.js:51:18)
      at ReplaySubject._subscribe (/mnt1/kibana8/node_modules/rxjs/dist/cjs/internal/ReplaySubject.js:54:24)
      at ReplaySubject.Observable._trySubscribe (/mnt1/kibana8/node_modules/rxjs/dist/cjs/internal/Observable.js:41:25)
      at ReplaySubject.Subject._trySubscribe (/mnt1/kibana8/node_modules/rxjs/dist/cjs/internal/Subject.js:123:47)
      at /mnt1/kibana8/node_modules/rxjs/dist/cjs/internal/Observable.js:35:31
      at Object.errorContext (/mnt1/kibana8/node_modules/rxjs/dist/cjs/internal/util/errorContext.js:22:9)
      at ReplaySubject.Observable.subscribe (/mnt1/kibana8/node_modules/rxjs/dist/cjs/internal/Observable.js:26:24)
      at /mnt1/kibana8/node_modules/rxjs/dist/cjs/internal/operators/share.js:66:18
      at OperatorSubscriber.<anonymous> (/mnt1/kibana8/node_modules/rxjs/dist/cjs/internal/util/lift.js:14:28)
      at /mnt1/kibana8/node_modules/rxjs/dist/cjs/internal/Observable.js:30:30
      at Object.errorContext (/mnt1/kibana8/node_modules/rxjs/dist/cjs/internal/util/errorContext.js:22:9)
      at Observable.subscribe (/mnt1/kibana8/node_modules/rxjs/dist/cjs/internal/Observable.js:26:24)
      at /mnt1/kibana8/node_modules/rxjs/dist/cjs/internal/operators/map.js:9:16
      at OperatorSubscriber.<anonymous> (/mnt1/kibana8/node_modules/rxjs/dist/cjs/internal/util/lift.js:14:28)
      at /mnt1/kibana8/node_modules/rxjs/dist/cjs/internal/Observable.js:30:30
      at Object.errorContext (/mnt1/kibana8/node_modules/rxjs/dist/cjs/internal/util/errorContext.js:22:9)
      at Observable.subscribe (/mnt1/kibana8/node_modules/rxjs/dist/cjs/internal/Observable.js:26:24)
      at /mnt1/kibana8/node_modules/rxjs/dist/cjs/internal/operators/distinctUntilChanged.js:13:16      at OperatorSubscriber.<anonymous> (/mnt1/kibana8/node_modules/rxjs/dist/cjs/internal/util/lift.js:14:28)
      at /mnt1/kibana8/node_modules/rxjs/dist/cjs/internal/Observable.js:30:30
      at Object.errorContext (/mnt1/kibana8/node_modules/rxjs/dist/cjs/internal/util/errorContext.js:22:9)
      at Observable.subscribe (/mnt1/kibana8/node_modules/rxjs/dist/cjs/internal/Observable.js:26:24)
      at /mnt1/kibana8/node_modules/rxjs/dist/cjs/internal/operators/map.js:9:16
      at OperatorSubscriber.<anonymous> (/mnt1/kibana8/node_modules/rxjs/dist/cjs/internal/util/lift.js:14:28)
      at /mnt1/kibana8/node_modules/rxjs/dist/cjs/internal/Observable.js:30:30
      at Object.errorContext (/mnt1/kibana8/node_modules/rxjs/dist/cjs/internal/util/errorContext.js:22:9)
      at Observable.subscribe (/mnt1/kibana8/node_modules/rxjs/dist/cjs/internal/Observable.js:26:24) {
    cause: undefined,
    path: [ 'appenders', 'file' ],
    errors: [
      [SchemaTypeError],
      [SchemaTypeError],
      [SchemaTypeError],
      [SchemaTypeError]
    ]
  }
}
 FATAL  Error: [config validation of [logging].appenders.file]: types that failed validation:
- [config validation of [logging].0.type]: expected value to equal [console]
- [config validation of [logging].1.layout]: expected at least one defined value but got [undefined]
- [config validation of [logging].2.type]: expected value to equal [rewrite]
- [config validation of [logging].3.type]: expected value to equal [rolling-file]
[root@qa4-ops-eks-k8s-master-2-1b 10.13.86.206:~]

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.