Configuring Kibanaedit

The Kibana server reads properties from the kibana.yml file on startup. The default settings configure Kibana to run on localhost:5601. To change the host or port number, or connect to Elasticsearch running on a different machine, you’ll need to update your kibana.yml file. You can also enable SSL and set a variety of other options.

Table 1. Kibana Configuration Settings


Default: 5601 Kibana is served by a back end server. This setting specifies the port to use.

Default: "localhost" This setting specifies the host of the back end server.


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 (/).


Default: 1048576 The maximum payload size in bytes for incoming server requests.

Default: "your-hostname" A human-readable display name that identifies this Kibana instance.


Default: "/app/kibana" This setting specifies the default route when opening Kibana. You can use this setting to modify the landing page when opening Kibana.


Default: "http://localhost:9200" The URL of the Elasticsearch instance to use for all your queries.


Default: true 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 the host that connects to this Kibana instance.


Default: ".kibana" Kibana uses an index in Elasticsearch to store saved searches, visualizations and dashboards. Kibana creates a new index if the index doesn’t already exist.


Default: "discover" The default application to load.


Default: "{z}/{x}/{y}.png?elastic_tile_service_tos=agree&my_app_name=kibana" The URL to the tile service that Kibana uses to display map tiles in tilemap visualizations.


Default: 1 The minimum zoom level.


Default: 10 The maximum zoom level.


Default: "© [Elastic Tile Service](" The map attribution string.


An array of subdomains used by the tile service. Specify the position of the subdomain the URL with the token {s}.

elasticsearch.username: and elasticsearch.password:

If your Elasticsearch is protected with basic authentication, these settings provide 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 Elasticsearch, which is proxied through the Kibana server.

server.ssl.cert: and server.ssl.key:

Paths to the PEM-format SSL certificate and SSL key files, respectively. These files enable SSL for outgoing requests from the Kibana server to the browser.

elasticsearch.ssl.cert: and elasticsearch.ssl.key:

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 certificate authority for your Elasticsearch instance.


Default: true To disregard the validity of SSL certificates, change this setting’s value to false.


Default: the value of the elasticsearch.requestTimeout setting Time in milliseconds to wait for Elasticsearch to respond to pings.


Default: 30000 Time in milliseconds to wait for responses from the back end or Elasticsearch. This value must be a positive integer.


Default: [ 'authorization' ] List of Kibana client-side headers to send to Elasticsearch. To send no client-side headers, set this value to [] (an empty list).


Default: {} Header names and values to send to Elasticsearch. Any custom headers cannot be overwritten by client-side headers, regardless of the elasticsearch.requestHeadersWhitelist configuration.


Default: 0 Time in milliseconds for Elasticsearch to wait for responses from shards. Set to 0 to disable.


Default: 5000 Time in milliseconds to wait for Elasticsearch at Kibana startup before retrying.


Specifies the path where Kibana creates the process ID file.


Default: stdout Enables you specify a file where Kibana stores log output.


Default: false Set the value of this setting to true to suppress all logging output.


Default: false Set the value of this setting to true to suppress all logging output other than error messages.


Default: false Set the value of this setting to true to log all events, including system usage information and all requests.


Default: 5000 Set the interval in milliseconds to sample system and process performance metrics. The minimum value is 100.


Default: false If authentication is enabled, setting this to true allows unauthenticated users to access the Kibana server status API and status page.


Default: true Set to false to disable Console. Toggling this will cause the server to regenerate assets on the next startup, which may cause a delay before pages start being served.


Default: .* A list of regular expressions that are used to validate any outgoing request from Console. If none of these match, the request will be rejected.


A list of configuration options that are based on the proxy target. Use this to set custom timeouts or SSL settings for specific hosts. This is done by defining a set of match criteria using wildcards/globs which will be checked against each request. The configuration from all matching rules will then be merged together to configure the proxy used for that request.

The valid match keys are match.protocol,, match.port, and match.path. All of these keys default to *, which means they will match any value. See Configuring Console for an example.