Configure Kibana
Self Managed
The Kibana server reads properties from the kibana.yml
file on startup.
The location of this file differs depending on how you installed Kibana
- Archive distributions (
.tar.gz
or.zip
): Default location is$KIBANA_HOME/config
- Package distributions (Debian or RPM): Default location is
/etc/kibana
The config directory can be changed using the KBN_PATH_CONF
environment variable:
KBN_PATH_CONF=/home/kibana/config ./bin/kibana
The default host and port settings configure Kibana to run on localhost:5601
. To change this behavior and allow remote users to connect, you need to update your server.host
and server.port
settings in the kibana.yml
file.
In this file, you can also enable SSL and set a variety of other options.
Environment variables can be injected into configuration using ${MY_ENV_VAR}
syntax. By default, configuration validation will fail if an environment variable used in the config file is not present when Kibana starts. This behavior can be changed by using a default value for the environment variable, using the ${MY_ENV_VAR:defaultValue}
syntax.
For a complete list of settings that you can apply to Kibana, refer to Kibana configuration reference.
Refer to the following documentation to learn how to perform key configuration tasks for Kibana:
- Configure SSL certificates to encrypt traffic between client browsers and Kibana
- Enable authentication providers for Kibana
- Configure the Kibana reporting feature
- Use Spaces to organize content in Kibana, and restrict access to this content to specific users
- Use Connectors to manage connection information between Elasticsearch, Kibana, and third-party systems
- Present a user access agreement when logging on to Kibana
- Review considerations for using Kibana in production, including using load balancers
- Monitor events inside and outside of Kibana
- Configure logging
- Secure Kibana communications and resources