I installed X-Pack witn the command ./bin/kibana-plugin install x-pack
And I launched the Elasticsearch and Kibana,the Elasticsearch started successfully but Kibana failed.
the Kibana logs are as follow:
[XXX@foxbert bin]$ ./kibana
log [13:08:47.863] [info][optimize] Optimizing and caching bundles for ml, stateSessionStorageRedirect, status_page, timelion, graph, monitoring, login, logout, dashboardViewer, apm and kibana. This may take a few minutes
Do I need to uninstall the x-pack from kibana?
What should I do?
Did you also install X-Pack on Elasticsearch ? You need to install X-Pack in all of the components of the stack. See an overview of the procedure here
You would need to install x-pack in Elasticsearch too and perform the basic configuration before the rest of the troubleshooting can continue, but if you run into additional issues afterwards please also share the following in your update:
What is your OS ?
The lines in kibana.yml that are not commented out
Yes，I have installed X-Pack on my Elasticsearch. I deployed my ES on the cloud
server.My OS is Linux withCentOS7.4.
# Kibana is served by a back end server. This setting specifies the port to use.
# Specifies the address to which the Kibana server will bind. IP addresses and
host names are both valid values.
# The default is 'localhost', which usually means remote machines will not be
able to connect.
# To allow connections from remote users, set this parameter to a non-
# Enables you to specify a path to mount Kibana at if you are running behind a
proxy. This only affects
# the URLs generated by Kibana, your proxy is expected to remove the
basePath value before forwarding requests
# to Kibana. This setting cannot end in a slash.
# The maximum payload size in bytes for incoming server requests.
# The Kibana server's name. This is used for display purposes.
# The URL of the Elasticsearch instance to use for all your queries.
# When this setting's value is true Kibana uses the hostname specified in the
# setting. When the value of this setting is false, Kibana uses the hostname of
# that connects to this Kibana instance.
# Kibana uses an index in Elasticsearch to store saved searches, visualizations
# dashboards. Kibana creates a new index if the index doesn't already exist.
# The default application to load.
# If your Elasticsearch is protected with basic authentication, these settings
# the username and password that the Kibana server uses to perform
maintenance on the Kibana
# index at startup. Your Kibana users still need to authenticate with
# is proxied through the Kibana server.
# Enables SSL and paths to the PEM-format SSL certificate and SSL key files,
# These settings enable SSL for outgoing requests from the Kibana server to
# Optional settings that provide the paths to the PEM-format SSL certificate
and key files.
# These files validate that your Elasticsearch backend uses the same key files.
# Optional setting that enables you to specify a path to the PEM file for the
# authority for your Elasticsearch instance.
#elasticsearch.ssl.certificateAuthorities: [ "/path/to/your/CA.pem" ]
# To disregard the validity of SSL certificates, change this setting's value to
# Time in milliseconds to wait for Elasticsearch to respond to pings. Defaults to
the value of
# the elasticsearch.requestTimeout setting.
It 's very strange that I can' t find the kibana.log in the/var/log/. There is nokibana folder in my directory.
I put kibana uninstall and reinstall the time, but had a new problem:
[root@foxbert bin]# ./kibana-plugin install x-pack
Found previous install attempt. Deleting...
Attempting to transfer from x-pack
Attempting to transfer from https://artifacts.elastic.co/downloads/kibana-plugins/x-pack/x-pack-6.2.4.zip
Transferring 264988487 bytes....................
Retrieving metadata from plugin archive
Extracting plugin archive
Optimizing and caching browser bundles...
It looks as if your VM doesn't have enough memory for X-Pack to complete the installation. This has been reported here and here and both times the issue was that the VM did not have enough available ram.
Please use a VM with adequate resources ( > 2GB of RAM ).