Receiving an error with a new installation of Kibana 7 beta1

Hello. I'm working with a fresh installation of Kibana (and ES) 7.0 Beta 1 on Windows. The install went OK, but Kibana is logging the following message on startup:

error  [19:43:39.229] [warning][process] UnhandledPromiseRejectionWarning: [illegal_argument_exception] The mapping definition cannot be nested under a type [_doc] unless include_type_name is set to true. :: {"path":"/_template/.management-beats","query":{},"body":"{\"index_patterns\":[\".management-beats\"],\"version\":67000,\"settings\":{\"index\":{\"number_of_shards\":1,\"auto_expand_replicas\":\"0-1\",\"codec\":\"best_compression\"}},\"mappings\":{\"_doc\":{\"dynamic\":\"strict\",\"properties\":{\"type\":{\"type\":\"keyword\"},\"configuration_block\":{\"properties\":{\"id\":{\"type\":\"keyword\"},\"type\":{\"type\":\"keyword\"},\"tag\":{\"type\":\"keyword\"},\"description\":{\"type\":\"text\"},\"config\":{\"type\":\"keyword\"},\"last_updated\":{\"type\":\"date\"}}},\"enrollment_token\":{\"properties\":{\"token\":{\"type\":\"keyword\"},\"expires_on\":{\"type\":\"date\"}}},\"tag\":{\"properties\":{\"id\":{\"type\":\"keyword\"},\"name\":{\"type\":\"keyword\"},\"color\":{\"type\":\"keyword\"},\"hasConfigurationBlocksTypes\":{\"type\":\"keyword\"}}},\"beat\":{\"properties\":{\"id\":{\"type\":\"keyword\"},\"status\":{\"properties\":{\"type\":{\"type\":\"keyword\"},\"timestamp\":{\"type\":\"date\"},\"event\":{\"properties\":{\"type\":{\"type\":\"keyword\"},\"message\":{\"type\":\"text\"},\"uuid\":{\"type\":\"keyword\"}}}}},\"active\":{\"type\":\"boolean\"},\"last_checkin\":{\"type\":\"date\"},\"enrollment_token\":{\"type\":\"keyword\"},\"access_token\":{\"type\":\"keyword\"},\"verified_on\":{\"type\":\"date\"},\"type\":{\"type\":\"keyword\"},\"version\":{\"type\":\"keyword\"},\"host_ip\":{\"type\":\"ip\"},\"host_name\":{\"type\":\"keyword\"},\"ephemeral_id\":{\"type\":\"keyword\"},\"tags\":{\"type\":\"keyword\"},\"metadata\":{\"dynamic\":\"true\",\"type\":\"object\"},\"name\":{\"type\":\"keyword\"}}}}}}}","statusCode":400,"response":"{\"error\":{\"root_cause\":[{\"type\":\"illegal_argument_exception\",\"reason\":\"The mapping definition cannot be nested under a type [_doc] unless include_type_name is set to true.\"}],\"type\":\"illegal_argument_exception\",\"reason\":\"The mapping definition cannot be nested under a type [_doc] unless include_type_name is set to true.\"},\"status\":400}"}
    at respond (C:\kibana\node_modules\elasticsearch\src\lib\transport.js:308:15)
    at checkRespForFailure (C:\kibana\node_modules\elasticsearch\src\lib\transport.js:267:7)
    at HttpConnector.<anonymous> (C:\kibana\node_modules\elasticsearch\src\lib\connectors\http.js:166:7)
    at IncomingMessage.wrapper (C:\kibana\node_modules\elasticsearch\node_modules\lodash\lodash.js:4935:19)
    at IncomingMessage.emit (events.js:194:15)
    at endReadableNT (_stream_readable.js:1103:12)
    at process._tickCallback (internal/process/next_tick.js:63:19)
    at emitWarning (internal/process/promises.js:81:15)
    at emitPromiseRejectionWarnings (internal/process/promises.js:120:9)
    at process._tickCallback (internal/process/next_tick.js:69:34)
 error  [19:43:39.244] [warning][process] [illegal_argument_exception] The mapping definition cannot be nested under a type [_doc] unless include_type_name is set to true. :: {"path":"/_template/.management-beats","query":{},"body":"{\"index_patterns\":[\".management-beats\"],\"version\":67000,\"settings\":{\"index\":{\"number_of_shards\":1,\"auto_expand_replicas\":\"0-1\",\"codec\":\"best_compression\"}},\"mappings\":{\"_doc\":{\"dynamic\":\"strict\",\"properties\":{\"type\":{\"type\":\"keyword\"},\"configuration_block\":{\"properties\":{\"id\":{\"type\":\"keyword\"},\"type\":{\"type\":\"keyword\"},\"tag\":{\"type\":\"keyword\"},\"description\":{\"type\":\"text\"},\"config\":{\"type\":\"keyword\"},\"last_updated\":{\"type\":\"date\"}}},\"enrollment_token\":{\"properties\":{\"token\":{\"type\":\"keyword\"},\"expires_on\":{\"type\":\"date\"}}},\"tag\":{\"properties\":{\"id\":{\"type\":\"keyword\"},\"name\":{\"type\":\"keyword\"},\"color\":{\"type\":\"keyword\"},\"hasConfigurationBlocksTypes\":{\"type\":\"keyword\"}}},\"beat\":{\"properties\":{\"id\":{\"type\":\"keyword\"},\"status\":{\"properties\":{\"type\":{\"type\":\"keyword\"},\"timestamp\":{\"type\":\"date\"},\"event\":{\"properties\":{\"type\":{\"type\":\"keyword\"},\"message\":{\"type\":\"text\"},\"uuid\":{\"type\":\"keyword\"}}}}},\"active\":{\"type\":\"boolean\"},\"last_checkin\":{\"type\":\"date\"},\"enrollment_token\":{\"type\":\"keyword\"},\"access_token\":{\"type\":\"keyword\"},\"verified_on\":{\"type\":\"date\"},\"type\":{\"type\":\"keyword\"},\"version\":{\"type\":\"keyword\"},\"host_ip\":{\"type\":\"ip\"},\"host_name\":{\"type\":\"keyword\"},\"ephemeral_id\":{\"type\":\"keyword\"},\"tags\":{\"type\":\"keyword\"},\"metadata\":{\"dynamic\":\"true\",\"type\":\"object\"},\"name\":{\"type\":\"keyword\"}}}}}}}","statusCode":400,"response":"{\"error\":{\"root_cause\":[{\"type\":\"illegal_argument_exception\",\"reason\":\"The mapping definition cannot be nested under a type [_doc] unless include_type_name is set to true.\"}],\"type\":\"illegal_argument_exception\",\"reason\":\"The mapping definition cannot be nested under a type [_doc] unless include_type_name is set to true.\"},\"status\":400}"}
    at respond (C:\kibana\node_modules\elasticsearch\src\lib\transport.js:308:15)
    at checkRespForFailure (C:\kibana\node_modules\elasticsearch\src\lib\transport.js:267:7)
    at HttpConnector.<anonymous> (C:\kibana\node_modules\elasticsearch\src\lib\connectors\http.js:166:7)
    at IncomingMessage.wrapper (C:\kibana\node_modules\elasticsearch\node_modules\lodash\lodash.js:4935:19)
    at IncomingMessage.emit (events.js:194:15)
    at endReadableNT (_stream_readable.js:1103:12)
    at process._tickCallback (internal/process/next_tick.js:63:19)

Any ideas on what this means? Seems benign as Kibana loads as expected. I also realize it's beta, but I'm hoping to test some new features out.

Pretty sure this is a bug, and it's been filed on GitHub: https://github.com/elastic/kibana/issues/31348

Thanks Lukas. I'll follow it on Github.

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