"{ ValidationError: child \"elasticsearch\" fails because [\"url\" is not allowed]\n

Hi all ,

Still, I'm getting Kibana server is not ready yet

When I go through the Kibana log it looks like this

{"type":"log","@timestamp":"2019-06-10T11:41:10Z","tags":["fatal","root"],"pid":14918,"message":"{ ValidationError: child "elasticsearch" fails because ["url" is not allowed]\n at Object.exports.process (/usr/share/kibana/node_modules/joi/lib/errors.js:196:19)\n at internals.Object._validateWithOptions (/usr/share/kibana/node_modules/joi/lib/types/any/index.js:675:31)\n at module.exports.internals.Any.root.validate (/usr/share/kibana/node_modules/joi/lib/index.js:146:23)\n at Config._commit (/usr/share/kibana/src/legacy/server/config/config.js:143:35)\n at Config.set (/usr/share/kibana/src/legacy/server/config/config.js:111:10)\n at Config.extendSchema (/usr/share/kibana/src/legacy/server/config/config.js:84:10)\n at extendConfigService (/usr/share/kibana/src/legacy/plugin_discovery/plugin_config/extend_config_service.js:45:10) name: 'ValidationError' }"}

Hey, elasticsearch.url was deprecated in 6.5 and removed in 7.0 in favor of a new config elasticsearch.hosts. The value can stay the same or be converted to an array (now with multiple hosts). Does that help?

1 Like

Thank you for your response . I will test it and get back to you

my kibana config file look like below

server.host: "192.168.60.4"
server.name: "orc-app1.dev"
kibana.index: ".newkibana"
server.port: 5601
#elasticsearch.url: "http://192.168.60.4:9200"
elasticsearch.hosts: "http://192.168.60.4:9200"
xpack.security.enabled: false
logging.dest: /var/log/kibana/kibana.log
http.cors.enabled: true
http.cors.allow-origin: http://192.168.60.4:5601

my elasticsearch.yml

[root@orc-app1 ~]# cat /etc/elasticsearch/elasticsearch.yml
cluster.name: ElasticDemO
node.name: {HOSTNAME} network.host: 192.168.60.4 discovery.zen.minimum_master_nodes: 1 xpack.security.enabled: false #xpack.security.transport.ssl.enabled: true #xpack.license.self_generated.type: basic bootstrap.system_call_filter: true path.data: /var/lib/elasticsearch path.logs: /var/log/elasticsearch discovery.seed_hosts: 192.168.60.4:9300 cluster.initial_master_nodes: ["{HOSTNAME}"]
http.cors.enabled: true
#http.cors.allow-origin: "*"
[root@orc-app1 ~]#

Hi All,

Finally I manage to fix issues in Kibana

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