i installed kibana by rpm, it was running til i made some change to kibana.yml, after that it failed immediately. This is what i changed:
server.port: 5601
server.host:"10.6.145.226"
elasticsearch.hosts: ["https:/_/10.6.145.226:9200"]
i installed kibana by rpm, it was running til i made some change to kibana.yml, after that it failed immediately. This is what i changed:
server.port: 5601
server.host:"10.6.145.226"
elasticsearch.hosts: ["https:/_/10.6.145.226:9200"]
This is my Kibana.yml file
server.port: 5601
server.host:"10.6.145.226"
server.rewriteBasePath
setting to tell Kibana if it should remove the basePathserver.basePath: ""
server.basePath
or require that they are rewritten by your reverse proxy.false
.server.rewriteBasePath: false
server.basePath
is configured this URL should end with the same basePath.server.publicBaseUrl: ""
server.maxPayload: 1048576
server.name: "your-hostname"
server.ssl.enabled: false
server.ssl.certificate: /path/to/your/server.crt
server.ssl.key: /path/to/your/server.key
elasticsearch.hosts: ["https:/_/10.6.145.226:9200"]
elasticsearch.username: "kibana_system"
elasticsearch.password: "pass"
fix the typo
You dont need/want the "_"
elasticsearch.hosts: ["https://10.6.145.226:9200"]
Hi Kevin, its the "" i put it in following the policy of website, in my yml file in the system it doesnt have ""
If its your company policy?
Change it back?
sorry for that, i didnt explain it clearly. Its the policies of this discuss web that we are communicating doesnt allow me to post a complete link so i have to put - in to the middle //
This is where we are:
You posted
I changed some configs
and now stuff doesn't work. (providing nothing else, no log of any error, just 3 lines of configuration).
I noted that some configs
is broken, suggested you fix it. The 3 lines of information you supplied had a clear and obvious error.
You said I really didn't change it to some configs
due to some obscure policy.
OK, then I suggested change some configs
back to whatever it was before, when it was working. Did you try that?
For now, it is impossible to diagnose your problem using the information so far shared. Error messages, some context, kibana logs, ... might help.
This is what i got when i run journalctl -eu kibana
Kibana is currently running with legacy OpenSSL providers enabled! For details and instructions on how to disable see Use Kibana in a production environment | Kibana Guide [8.14] | Elastic
{"log.level":"info","@timestamp":"2025-03-06T09:10:30.755Z","log.logger":"elastic-apm-node","ecs.version":"8.10.0","agentVersion":"4.5.0","env":{"pid":127077,"proctitle":"/usr/share/kibana/bin/../node/bin/node","os":"linux
FATAL CLI ERROR YAMLException: can not read a block mapping entry; a multiline key may not be an implicit key at line 13, column 1:
i also check in the YML file and when i undo the config, kibana activated
that reads like you are just messing up when editing the file, adding (maybe invisible) characters
After editing, check and validate the kibana.yml with a tool, e.g.
or via command line with (eg) yamllint
This works for me:
# cat $HOME/.yamllint
extends: default
rules:
# don't fail if a line is long
line-length: disable
document-start: disable
comments: disable
# yamllint /etc/elasticsearch/elasticsearch.yml
# yamllint /etc/kibana/kibana.yml
#
thank you so much, finally its run @@
after i delete the space in yml its run completely and i want to try your cmd line but i dont know where to put it. Sr im kinda new with Linux and stuff
dont worry about it, main thing is it now works.
Good luck with your project.
u help me a lot, thank you man
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.