Setting Kibana Server Properties

edit

Setting Kibana Server Properties

edit

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 Server Properties

Property Description

port

The port that the Kibana server runs on. Default: port: 5601.

host

The host to bind the Kibana server to. Default: host: "0.0.0.0".

elasticsearch_url

The Elasticsearch instance where the indices you want to query reside. Default:  elasticsearch_url: "http://localhost:9200".

tilemap_url [4.1.10] Added in 4.1.10.

The URL to the tilemap service Kibana uses for tilemap visualizations. Default:  elasticsearch_url: "https://tiles.elastic.co/v1/default/{z}/{x}/{y}.png?my_app_name=kibana&my_app_version=<package version>&elastic_tile_service_tos=agree".

tilemap_min_zoom [4.1.10] Added in 4.1.10.

The minimum zoom level. Defaults to 1.

tilemap_max_zoom [4.1.10] Added in 4.1.10.

The maximum zoom level. Defaults to 10.

tilemap_attribution [4.1.10] Added in 4.1.10.

The map attribution string. Defaults to © [Elastic Tile Service](https://www.elastic.co/elastic-tile-service)

tilemap_subdomains [4.1.10] Added in 4.1.10.

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

elasticsearch_preserve_host

By default, the host specified in the incoming request from the browser is specified as the host in the corresponding request Kibana sends to Elasticsearch. If you set this option to false, Kibana uses the host specified in elasticsearch_url. You probably don’t need to worry about this setting—​just use the default. Default: elasticsearch_preserve_host: true.

kibana_index

The name of the index where saved searched, visualizations, and dashboards will be stored. Default: kibana_index: .kibana.

default_app_id

The page that will be displayed when you launch Kibana: discover, visualize, dashboard, or settings. Default: default_app_id: "discover".

request_timeout

How long to wait for responses from the Kibana backend or Elasticsearch, in milliseconds. Default: request_timeout: 500000.

shard_timeout

How long Elasticsearch should wait for responses from shards. Set to 0 to disable. Default: shard_timeout: 0.

verify_ssl

Indicates whether or not to validate the Elasticsearch SSL certificate. Set to false to disable SSL verification. Default: verify_ssl: true.

ca

The path to the CA certificate for your Elasticsearch instance. Specify if you are using a self-signed certificate so the certificate can be verified. (Otherwise, you have to disable verify_ssl.) Default: none.

ssl_key_file

The path to your Kibana server’s key file. Must be set to encrypt communications between the browser and Kibana. Default: none.

ssl_cert_file

The path to your Kibana server’s certificate file. Must be set to encrypt communications between the browser and Kibana. Default: none.

pid_file

The location where you want to store the process ID file. If not specified, the PID file is stored in /var/run/kibana.pid. Default: none.

log_file

The location where you want to store the Kibana’s log output. If not specified, log output is written to standard output and not stored. Specifying a log file suppresses log writes to standard output. Default: none.