2016-10-25 03:41:32 +02:00
[[settings]]
2020-06-09 01:15:20 +02:00
== Configure {kib}
2016-10-25 03:41:32 +02:00
2020-03-02 16:48:11 +01:00
The {kib} server reads properties from the `kibana.yml` file on startup. The
2019-05-24 00:33:54 +02:00
location of this file differs depending on how you installed {kib}. For example,
if you installed {kib} from an archive distribution (`.tar.gz` or `.zip`), by
default it is in `$KIBANA_HOME/config`. By default, with package distributions
2021-02-10 17:01:49 +01:00
(Debian or RPM), it is in `/etc/kibana`. The config directory can be changed via the
`KBN_PATH_CONF` environment variable:
```
KBN_PATH_CONF=/home/kibana/config ./bin/kibana
```
2018-07-03 22:32:49 +02:00
2019-12-12 21:06:10 +01:00
The default host and port settings configure {kib} to run on `localhost:5601`. To change this behavior and allow remote users to connect, you'll need to update your `kibana.yml` file. You can also enable SSL and set a
2019-02-11 19:17:10 +01:00
variety of other options. Finally, environment variables can be injected into
configuration using `${MY_ENV_VAR}` syntax.
2016-10-25 03:41:32 +02:00
2020-05-04 17:48:29 +02:00
[cols="2*<"]
|===
| `console.enabled:`
| Toggling this causes the server to regenerate assets on the next startup,
which may cause a delay before pages start being served.
Set to `false` to disable Console. *Default: `true`*
| `cpu.cgroup.path.override:`
2020-09-23 18:03:10 +02:00
| *deprecated* This setting has been renamed to <<ops-cGroupOverrides-cpuPath, `ops.cGroupOverrides.cpuPath`>>
2020-09-10 00:49:28 +02:00
and the old name will no longer be supported as of 8.0.
2020-05-04 17:48:29 +02:00
| `cpuacct.cgroup.path.override:`
2020-09-23 18:03:10 +02:00
| *deprecated* This setting has been renamed to <<ops-cGroupOverrides-cpuAcctPath, `ops.cGroupOverrides.cpuAcctPath`>>
2020-09-10 00:49:28 +02:00
and the old name will no longer be supported as of 8.0.
2020-05-04 17:48:29 +02:00
| `csp.rules:`
| A https://w3c.github.io/webappsec-csp/[content-security-policy] template
that disables certain unnecessary and potentially insecure capabilities in
the browser. It is strongly recommended that you keep the default CSP rules
that ship with {kib}.
2020-09-23 18:03:10 +02:00
|[[csp-strict]] `csp.strict:`
2020-05-04 17:48:29 +02:00
| Blocks {kib} access to any browser that
does not enforce even rudimentary CSP rules. In practice, this disables
2019-12-12 21:06:10 +01:00
support for older, less safe browsers like Internet Explorer.
2020-05-04 17:48:29 +02:00
For more information, refer to <<csp-strict-mode, Content Security Policy>>.
*Default: `true`*
| `csp.warnLegacyBrowsers:`
| Shows a warning message after loading {kib} to any browser that does not
enforce even rudimentary CSP rules, though {kib} is still accessible. This
2020-09-23 18:03:10 +02:00
configuration is effectively ignored when <<csp-strict, `csp.strict`>> is enabled.
2020-05-04 17:48:29 +02:00
*Default: `true`*
| `elasticsearch.customHeaders:`
| Header names and values to send to {es}. Any custom headers cannot be
overwritten by client-side headers, regardless of the
2020-09-23 18:03:10 +02:00
<<elasticsearch-requestHeadersWhitelist, `elasticsearch.requestHeadersWhitelist`>> configuration. *Default: `{}`*
2020-05-04 17:48:29 +02:00
2020-09-23 18:03:10 +02:00
|[[elasticsearch-hosts]] `elasticsearch.hosts:`
2020-05-04 17:48:29 +02:00
| The URLs of the {es} instances to use for all your queries. All nodes
listed here must be on the same cluster. *Default: `[ "http://localhost:9200" ]`*
2020-09-24 19:22:45 +02:00
2020-05-04 17:48:29 +02:00
To enable SSL/TLS for outbound connections to {es}, use the `https` protocol
in this setting.
| `elasticsearch.logQueries:`
2021-02-01 19:22:25 +01:00
| *deprecated* This setting is no longer used and will get removed in Kibana 8.0. Instead, set <<logging-verbose, `logging.verbose`>> to `true`
2020-05-04 17:48:29 +02:00
This is useful for seeing the query DSL generated by applications that
currently do not have an inspector, for example Timelion and Monitoring.
*Default: `false`*
2020-09-23 18:03:10 +02:00
|[[elasticsearch-pingTimeout]] `elasticsearch.pingTimeout:`
2020-05-04 17:48:29 +02:00
| Time in milliseconds to wait for {es} to respond to pings.
2020-09-23 18:03:10 +02:00
*Default: the value of the <<elasticsearch-requestTimeout, `elasticsearch.requestTimeout`>> setting*
2020-05-04 17:48:29 +02:00
2020-09-23 18:03:10 +02:00
|[[elasticsearch-requestHeadersWhitelist]] `elasticsearch.requestHeadersWhitelist:`
2020-05-04 17:48:29 +02:00
| List of {kib} client-side headers to send to {es}. To send *no* client-side
headers, set this value to [] (an empty list). Removing the `authorization`
header from being whitelisted means that you cannot use
<<basic-authentication, basic authentication>> in {kib}.
*Default: `[ 'authorization' ]`*
2020-09-23 18:03:10 +02:00
|[[elasticsearch-requestTimeout]] `elasticsearch.requestTimeout:`
2020-05-04 17:48:29 +02:00
| Time in milliseconds to wait for responses from the back end or {es}.
This value must be a positive integer. *Default: `30000`*
| `elasticsearch.shardTimeout:`
| Time in milliseconds for {es} to wait for responses from shards.
Set to 0 to disable. *Default: `30000`*
| `elasticsearch.sniffInterval:`
| Time in milliseconds between requests to check {es} for an updated list of
nodes. *Default: `false`*
| `elasticsearch.sniffOnStart:`
| Attempt to find other {es} nodes on startup. *Default: `false`*
| `elasticsearch.sniffOnConnectionFault:`
| Update the list of {es} nodes immediately following a connection fault.
*Default: `false`*
2020-09-23 18:03:10 +02:00
|[[elasticsearch-ssl-alwaysPresentCertificate]] `elasticsearch.ssl.alwaysPresentCertificate:`
2020-05-04 17:48:29 +02:00
| Controls {kib} behavior in regard to presenting a client certificate when
requested by {es}. This setting applies to all outbound SSL/TLS connections
to {es}, including requests that are proxied for end users. *Default: `false`*
|===
[WARNING]
============
When {es} uses certificates to authenticate end users with a PKI realm
2020-09-23 18:03:10 +02:00
and <<elasticsearch-ssl-alwaysPresentCertificate, `elasticsearch.ssl.alwaysPresentCertificate`>> is `true`,
2020-05-04 17:48:29 +02:00
proxied requests may be executed as the identity that is tied to the {kib}
server.
============
[cols="2*<"]
|===
2020-09-23 18:03:10 +02:00
|[[elasticsearch-ssl-cert-key]] `elasticsearch.ssl.certificate:` and `elasticsearch.ssl.key:`
2020-05-04 17:48:29 +02:00
| Paths to a PEM-encoded X.509 client certificate and its corresponding
private key. These are used by {kib} to authenticate itself when making
outbound SSL/TLS connections to {es}. For this setting to take effect, the
`xpack.security.http.ssl.client_authentication` setting in {es} must be also
be set to `"required"` or `"optional"` to request a client certificate from
{kib}.
|===
[NOTE]
============
2020-09-24 19:22:45 +02:00
These settings cannot be used in conjunction with
2020-09-23 18:03:10 +02:00
<<elasticsearch-ssl-keystore-path, `elasticsearch.ssl.keystore.path`>>.
2020-05-04 17:48:29 +02:00
============
[cols="2*<"]
|===
2020-09-23 18:03:10 +02:00
|[[elasticsearch-ssl-certificateAuthorities]] `elasticsearch.ssl.certificateAuthorities:`
2020-05-04 17:48:29 +02:00
| Paths to one or more PEM-encoded X.509 certificate authority (CA)
certificates, which make up a trusted certificate chain for {es}. This chain is
used by {kib} to establish trust when making outbound SSL/TLS connections to
{es}.
2020-09-24 19:22:45 +02:00
2020-05-04 17:48:29 +02:00
In addition to this setting, trusted certificates may be specified via
2020-09-24 19:22:45 +02:00
<<elasticsearch-ssl-keystore-path, `elasticsearch.ssl.keystore.path`>> and/or
2020-09-23 18:03:10 +02:00
<<elasticsearch-ssl-truststore-path, `elasticsearch.ssl.truststore.path`>>.
2020-05-04 17:48:29 +02:00
| `elasticsearch.ssl.keyPassphrase:`
| The password that decrypts the private key that is specified
2020-09-23 18:03:10 +02:00
via <<elasticsearch-ssl-cert-key, `elasticsearch.ssl.key`>>. This value is optional, as the key may not be
2020-05-04 17:48:29 +02:00
encrypted.
2020-09-23 18:03:10 +02:00
|[[elasticsearch-ssl-keystore-path]] `elasticsearch.ssl.keystore.path:`
2020-05-04 17:48:29 +02:00
| Path to a PKCS#12 keystore that contains an X.509 client certificate and it's
corresponding private key. These are used by {kib} to authenticate itself when
making outbound SSL/TLS connections to {es}. For this setting, you must also set
the `xpack.security.http.ssl.client_authentication` setting in {es} to
`"required"` or `"optional"` to request a client certificate from {kib}.
2020-09-24 19:22:45 +02:00
2020-05-04 17:48:29 +02:00
If the keystore contains any additional certificates, they are used as a
trusted certificate chain for {es}. This chain is used by {kib} to establish
trust when making outbound SSL/TLS connections to {es}. In addition to this
setting, trusted certificates may be specified via
2020-09-23 18:03:10 +02:00
<<elasticsearch-ssl-certificateAuthorities, `elasticsearch.ssl.certificateAuthorities`>> and/or
<<elasticsearch-ssl-truststore-path, `elasticsearch.ssl.truststore.path`>>.
2020-01-09 20:47:16 +01:00
2020-05-04 17:48:29 +02:00
|===
2020-01-09 20:47:16 +01:00
2020-05-04 17:48:29 +02:00
[NOTE]
============
This setting cannot be used in conjunction with
2020-09-23 18:03:10 +02:00
<<elasticsearch-ssl-cert-key, `elasticsearch.ssl.certificate`>> or <<elasticsearch-ssl-cert-key, `elasticsearch.ssl.key`>>.
2020-05-04 17:48:29 +02:00
============
2020-01-29 20:45:17 +01:00
2020-05-04 17:48:29 +02:00
[cols="2*<"]
|===
2020-01-09 20:47:16 +01:00
2020-05-04 17:48:29 +02:00
| `elasticsearch.ssl.keystore.password:`
| The password that decrypts the keystore specified via
2020-09-24 19:22:45 +02:00
<<elasticsearch-ssl-keystore-path, `elasticsearch.ssl.keystore.path`>>. If the keystore has no password, leave this
2020-05-04 17:48:29 +02:00
as blank. If the keystore has an empty password, set this to
2020-01-29 20:45:17 +01:00
`""`.
2020-01-09 20:47:16 +01:00
2020-09-23 18:03:10 +02:00
|[[elasticsearch-ssl-truststore-path]] `elasticsearch.ssl.truststore.path:`
2020-05-04 17:48:29 +02:00
| Path to a PKCS#12 trust store that contains one or more X.509 certificate
authority (CA) certificates, which make up a trusted certificate chain for
{es}. This chain is used by {kib} to establish trust when making outbound
SSL/TLS connections to {es}.
2020-09-24 19:22:45 +02:00
2020-05-04 17:48:29 +02:00
In addition to this setting, trusted certificates may be specified via
2020-09-23 18:03:10 +02:00
<<elasticsearch-ssl-certificateAuthorities, `elasticsearch.ssl.certificateAuthorities`>> and/or
<<elasticsearch-ssl-keystore-path, `elasticsearch.ssl.keystore.path`>>.
2020-01-09 20:47:16 +01:00
2020-05-04 17:48:29 +02:00
|`elasticsearch.ssl.truststore.password:`
| The password that decrypts the trust store specified via
2020-09-24 19:22:45 +02:00
<<elasticsearch-ssl-truststore-path, `elasticsearch.ssl.truststore.path`>>. If the trust store
2020-09-23 18:03:10 +02:00
has no password, leave this as blank. If the trust store has an empty password, set this to `""`.
2020-05-04 17:48:29 +02:00
2020-12-17 20:26:42 +01:00
|[[elasticsearch-ssl-verificationMode]] `elasticsearch.ssl.verificationMode:`
2020-05-04 17:48:29 +02:00
| Controls the verification of the server certificate that {kib} receives when
making an outbound SSL/TLS connection to {es}. Valid values are `"full"`,
`"certificate"`, and `"none"`. Using `"full"` performs hostname verification,
using `"certificate"` skips hostname verification, and using `"none"` skips
verification entirely. *Default: `"full"`*
2020-09-23 18:03:10 +02:00
|[[elasticsearch-user-passwd]] `elasticsearch.username:` and `elasticsearch.password:`
2020-05-04 17:48:29 +02:00
| If your {es} is protected with basic authentication, these settings provide
the username and password that the {kib} server uses to perform maintenance
on the {kib} index at startup. {kib} users still need to authenticate with
{es}, which is proxied through the {kib} server.
2021-01-21 20:00:39 +01:00
| `enterpriseSearch.host`
| The URL of your Enterprise Search instance
2020-05-04 17:48:29 +02:00
| `interpreter.enableInVisualize`
| Enables use of interpreter in Visualize. *Default: `true`*
| `kibana.defaultAppId:`
2020-06-03 15:31:04 +02:00
| *deprecated* This setting is deprecated and will get removed in Kibana 8.0.
Please use the `defaultRoute` advanced setting instead.
The default application to load. *Default: `"home"`*
2020-05-04 17:48:29 +02:00
2020-09-23 18:03:10 +02:00
|[[kibana-index]] `kibana.index:`
2020-11-25 15:35:54 +01:00
| *deprecated* This setting is deprecated and will be removed in 8.0. Multitenancy by changing
`kibana.index` will not be supported starting in 8.0. See https://ela.st/kbn-remove-legacy-multitenancy[8.0 Breaking Changes]
for more details. {kib} uses an index in {es} to store saved searches, visualizations, and
2020-05-04 17:48:29 +02:00
dashboards. {kib} creates a new index if the index doesn’ t already exist.
If you configure a custom index, the name must be lowercase, and conform to the
2020-11-25 15:35:54 +01:00
{es} {ref}/indices-create-index.html[index name limitations].
2020-05-04 17:48:29 +02:00
*Default: `".kibana"`*
2020-05-15 00:08:18 +02:00
| `kibana.autocompleteTimeout:` {ess-icon}
2020-05-04 17:48:29 +02:00
| Time in milliseconds to wait for autocomplete suggestions from {es}.
This value must be a whole number greater than zero. *Default: `"1000"`*
2020-05-15 00:08:18 +02:00
| `kibana.autocompleteTerminateAfter:` {ess-icon}
2020-05-04 17:48:29 +02:00
| Maximum number of documents loaded by each shard to generate autocomplete
suggestions. This value must be a whole number greater than zero.
*Default: `"100000"`*
2021-01-14 10:26:11 +01:00
|===
[NOTE]
============
To reload the logging settings, send a SIGHUP signal to {kib}.
============
[cols="2*<"]
|===
2020-09-23 18:03:10 +02:00
|[[logging-dest]] `logging.dest:`
2020-05-04 17:48:29 +02:00
| Enables you to specify a file where {kib} stores log output.
*Default: `stdout`*
| `logging.json:`
| Logs output as JSON. When set to `true`, the logs are formatted as JSON
strings that include timestamp, log level, context, message text, and any other
metadata that may be associated with the log message.
2020-09-23 18:03:10 +02:00
When <<logging-dest, `logging.dest.stdout`>> is set, and there is no interactive terminal ("TTY"),
2020-05-04 17:48:29 +02:00
this setting defaults to `true`. *Default: `false`*
| `logging.quiet:`
| Set the value of this setting to `true` to suppress all logging output other
than error messages. *Default: `false`*
| `logging.rotate:`
| experimental[] Specifies the options for the logging rotate feature.
2019-12-10 04:21:30 +01:00
When not defined, all the sub options defaults would be applied.
The following example shows a valid logging rotate configuration:
2020-05-04 17:48:29 +02:00
|===
[source,text]
2019-12-10 04:21:30 +01:00
--
2020-05-04 17:48:29 +02:00
logging.rotate:
enabled: true
everyBytes: 10485760
keepFiles: 10
2019-12-10 04:21:30 +01:00
--
2020-05-04 17:48:29 +02:00
[cols="2*<"]
|===
| `logging.rotate.enabled:`
| experimental[] Set the value of this setting to `true` to
2020-09-23 18:03:10 +02:00
enable log rotation. If you do not have a <<logging-dest, `logging.dest`>> set that is different from `stdout`
2020-05-04 17:48:29 +02:00
that feature would not take any effect. *Default: `false`*
2019-12-10 04:21:30 +01:00
2020-05-04 17:48:29 +02:00
| `logging.rotate.everyBytes:`
| experimental[] The maximum size of a log file (that is `not an exact` limit). After the
2019-12-10 04:21:30 +01:00
limit is reached, a new log file is generated. The default size limit is 10485760 (10 MB) and
2020-05-04 17:48:29 +02:00
this option should be in the range of 1048576 (1 MB) to 1073741824 (1 GB). *Default: `10485760`*
2019-12-10 04:21:30 +01:00
2020-05-04 17:48:29 +02:00
| `logging.rotate.keepFiles:`
| experimental[] The number of most recent rotated log files to keep
2019-12-12 21:06:10 +01:00
on disk. Older files are deleted during log rotation. The default value is 7. The `logging.rotate.keepFiles`
2020-05-04 17:48:29 +02:00
option has to be in the range of 2 to 1024 files. *Default: `7`*
2019-12-10 04:21:30 +01:00
2020-05-04 17:48:29 +02:00
| `logging.rotate.pollingInterval:`
| experimental[] The number of milliseconds for the polling strategy in case
2020-09-23 18:03:10 +02:00
the <<logging-rotate-usePolling, `logging.rotate.usePolling`>> is enabled. `logging.rotate.usePolling` must be in the 5000 to 3600000 millisecond range. *Default: `10000`*
2019-12-10 04:21:30 +01:00
2020-09-23 18:03:10 +02:00
|[[logging-rotate-usePolling]] `logging.rotate.usePolling:`
2020-05-04 17:48:29 +02:00
| experimental[] By default we try to understand the best way to monitoring
2020-03-24 13:58:07 +01:00
the log file and warning about it. Please be aware there are some systems where watch api is not accurate. In those cases, in order to get the feature working,
2020-05-04 17:48:29 +02:00
the `polling` method could be used enabling that option. *Default: `false`*
2019-12-10 04:21:30 +01:00
2020-05-04 17:48:29 +02:00
| `logging.silent:`
| Set the value of this setting to `true` to
suppress all logging output. *Default: `false`*
2019-02-11 19:17:10 +01:00
2020-05-04 17:48:29 +02:00
| `logging.timezone`
2020-09-24 19:22:45 +02:00
| Set to the canonical time zone ID
(for example, `America/Los_Angeles`) to log events using that time zone.
For possible values, refer to
2021-02-10 08:54:08 +01:00
https://en.wikipedia.org/wiki/List_of_tz_database_time_zones[database time zones].
When not set, log events use the host timezone
2019-02-11 19:17:10 +01:00
2020-09-24 19:22:45 +02:00
| [[logging-verbose]] `logging.verbose:` {ess-icon}
2020-05-04 17:48:29 +02:00
| Set to `true` to log all events, including system usage information and all
2020-05-15 00:08:18 +02:00
requests. *Default: `false`*
2019-02-11 19:17:10 +01:00
2020-09-24 19:22:45 +02:00
| [[regionmap-ES-map]] `map.includeElasticMapsService:` {ess-icon}
2020-05-04 17:48:29 +02:00
| Set to `false` to disable connections to Elastic Maps Service.
2020-09-23 18:03:10 +02:00
When `includeElasticMapsService` is turned off, only the vector layers configured by <<regionmap-settings, `map.regionmap`>>
and the tile layer configured by <<tilemap-url, `map.tilemap.url`>> are available in <<maps, Maps>>. *Default: `true`*
2019-05-24 00:33:54 +02:00
2020-05-04 17:48:29 +02:00
| `map.proxyElasticMapsServiceInMaps:`
| Set to `true` to proxy all <<maps, Maps application>> Elastic Maps Service
requests through the {kib} server. *Default: `false`*
2019-02-11 19:17:10 +01:00
2020-09-24 19:22:45 +02:00
| [[regionmap-settings]] `map.regionmap:` {ess-icon}
2020-05-04 17:48:29 +02:00
| Specifies additional vector layers for
2020-05-15 00:08:18 +02:00
use in <<maps, Maps>> visualizations. Each layer
2019-02-11 19:17:10 +01:00
object points to an external vector file that contains a geojson
FeatureCollection. The file must use the
2020-02-26 02:16:04 +01:00
https://en.wikipedia.org/wiki/World_Geodetic_System[WGS84 coordinate reference system (ESPG:4326)]
2019-02-11 19:17:10 +01:00
and only include polygons. If the file is hosted on a separate domain from
2020-05-04 17:48:29 +02:00
{kib}, the server needs to be CORS-enabled so {kib} can download the file.
2020-03-09 17:45:48 +01:00
The following example shows a valid region map configuration.
2020-05-04 17:48:29 +02:00
|===
[source,text]
2019-02-11 19:17:10 +01:00
--
2020-05-04 17:48:29 +02:00
map.regionmap:
includeElasticMapsService: false
layers:
- name: "Departments of France"
url: "http://my.cors.enabled.server.org/france_departements.geojson"
attribution: "INRAP"
fields:
- name: "department"
description: "Full department name"
- name: "INSEE"
description: "INSEE numeric identifier"
2019-02-11 19:17:10 +01:00
--
2020-05-04 17:48:29 +02:00
[cols="2*<"]
|===
2020-09-24 19:22:45 +02:00
| [[regionmap-attribution]] `map.regionmap.layers[].attribution:` {ess-icon}
2020-05-04 17:48:29 +02:00
| Optional. References the originating source of the geojson file.
2018-05-02 19:23:36 +02:00
2020-09-24 19:22:45 +02:00
| [[regionmap-fields]] `map.regionmap.layers[].fields[]:` {ess-icon}
2020-05-04 17:48:29 +02:00
| Mandatory. Each layer
2019-02-11 19:17:10 +01:00
can contain multiple fields to indicate what properties from the geojson
2020-05-15 00:08:18 +02:00
features you wish to expose. The following shows how to define multiple
2020-05-04 17:48:29 +02:00
properties:
|===
[source,text]
--
map.regionmap:
includeElasticMapsService: false
layers:
- name: "Departments of France"
url: "http://my.cors.enabled.server.org/france_departements.geojson"
attribution: "INRAP"
fields:
- name: "department"
description: "Full department name"
- name: "INSEE"
description: "INSEE numeric identifier"
--
2018-05-02 19:23:36 +02:00
2020-05-04 17:48:29 +02:00
[cols="2*<"]
|===
2020-09-24 19:22:45 +02:00
| [[regionmap-field-description]] `map.regionmap.layers[].fields[].description:` {ess-icon}
2020-05-04 17:48:29 +02:00
| Mandatory. The human readable text that is shown under the Options tab when
2020-05-15 00:08:18 +02:00
building the Region Map visualization.
2018-05-02 19:23:36 +02:00
2020-09-24 19:22:45 +02:00
| [[regionmap-field-name]] `map.regionmap.layers[].fields[].name:` {ess-icon}
2020-05-04 17:48:29 +02:00
| Mandatory.
2019-02-11 19:17:10 +01:00
This value is used to do an inner-join between the document stored in
2020-03-02 16:48:11 +01:00
{es} and the geojson file. For example, if the field in the geojson is
called `Location` and has city names, there must be a field in {es}
that holds the same values that {kib} can then use to lookup for the geoshape
2020-05-15 00:08:18 +02:00
data.
2018-05-02 19:23:36 +02:00
2020-09-24 19:22:45 +02:00
| [[regionmap-name]] `map.regionmap.layers[].name:` {ess-icon}
2020-05-04 17:48:29 +02:00
| Mandatory. A description of
2020-05-15 00:08:18 +02:00
the map being provided.
2018-05-02 19:23:36 +02:00
2020-09-24 19:22:45 +02:00
| [[regionmap-url]] `map.regionmap.layers[].url:` {ess-icon}
2020-05-04 17:48:29 +02:00
| Mandatory. The location of the
2020-05-15 00:08:18 +02:00
geojson file as provided by a webserver.
2018-05-02 19:23:36 +02:00
2020-09-24 19:22:45 +02:00
| [[tilemap-settings]] `map.tilemap.options.attribution:` {ess-icon}
2020-05-15 00:08:18 +02:00
| The map attribution string.
2019-02-11 19:17:10 +01:00
*Default: `"© [Elastic Maps Service](https://www.elastic.co/elastic-maps-service)"`*
2017-07-22 00:35:02 +02:00
2020-09-24 19:22:45 +02:00
| [[tilemap-max-zoom]] `map.tilemap.options.maxZoom:` {ess-icon}
2020-05-15 00:08:18 +02:00
| The maximum zoom level. *Default: `10`*
2018-05-31 21:57:44 +02:00
2020-09-24 19:22:45 +02:00
| [[tilemap-min-zoom]] `map.tilemap.options.minZoom:` {ess-icon}
2020-05-15 00:08:18 +02:00
| The minimum zoom level. *Default: `1`*
2018-05-31 21:57:44 +02:00
2020-09-24 19:22:45 +02:00
| [[tilemap-subdomains]] `map.tilemap.options.subdomains:` {ess-icon}
2020-05-04 17:48:29 +02:00
| An array of subdomains
used by the tile service. Specify the position of the subdomain the URL with
2020-05-15 00:08:18 +02:00
the token `{s}`.
2018-05-31 21:57:44 +02:00
2020-09-24 19:22:45 +02:00
| [[tilemap-url]] `map.tilemap.url:` {ess-icon}
2020-05-04 17:48:29 +02:00
| The URL to the tileservice that {kib} uses
2020-05-15 00:08:18 +02:00
to display map tiles in tilemap visualizations. By default,
2020-05-04 17:48:29 +02:00
{kib} reads this URL from an external metadata service, but users can
2019-02-11 19:17:10 +01:00
override this parameter to use their own Tile Map Service. For example:
`"https://tiles.elastic.co/v2/default/{z}/{x}/{y}.png?elastic_tile_service_tos=agree&my_app_name=kibana"`
2018-05-31 21:57:44 +02:00
2020-05-04 17:48:29 +02:00
| `newsfeed.enabled:`
| Controls whether to enable the newsfeed
2020-03-02 16:48:11 +01:00
system for the {kib} UI notification center. Set to `false` to disable the
2020-05-04 17:48:29 +02:00
newsfeed system. *Default: `true`*
2019-11-13 22:36:23 +01:00
2020-09-23 18:03:10 +02:00
|[[path-data]] `path.data:`
2020-05-04 17:48:29 +02:00
| The path where {kib} stores persistent data
not saved in {es}. *Default: `data`*
2018-05-31 21:57:44 +02:00
2020-05-04 17:48:29 +02:00
| `pid.file:`
| Specifies the path where {kib} creates the process ID file.
2018-05-31 21:57:44 +02:00
2020-05-04 17:48:29 +02:00
| `ops.interval:`
| Set the interval in milliseconds to sample
system and process performance metrics. The minimum value is 100. *Default: `5000`*
2020-09-23 18:03:10 +02:00
|[[ops-cGroupOverrides-cpuPath]] `ops.cGroupOverrides.cpuPath:`
2020-09-10 00:49:28 +02:00
| Override for cgroup cpu path when mounted in a
manner that is inconsistent with `/proc/self/cgroup`.
2020-09-23 18:03:10 +02:00
|[[ops-cGroupOverrides-cpuAcctPath]] `ops.cGroupOverrides.cpuAcctPath:`
2020-09-10 00:49:28 +02:00
| Override for cgroup cpuacct path when mounted
in a manner that is inconsistent with `/proc/self/cgroup`.
2020-09-23 18:03:10 +02:00
|[[server-basePath]] `server.basePath:`
2020-05-04 17:48:29 +02:00
| Enables you to specify a path to mount {kib} at if you are
2020-09-23 18:03:10 +02:00
running behind a proxy. Use the <<server-rewriteBasePath, `server.rewriteBasePath`>> setting to tell {kib}
2019-02-11 19:17:10 +01:00
if it should remove the basePath from requests it receives, and to prevent a
deprecation warning at startup. This setting cannot end in a slash (`/`).
2018-05-31 21:57:44 +02:00
2020-12-10 00:10:16 +01:00
|[[server-publicBaseUrl]] `server.publicBaseUrl:`
| The publicly available URL that end-users access Kibana at. Must include the protocol, hostname, port
(if different than the defaults for `http` and `https`, 80 and 443 respectively), and the
<<server-basePath, `server.basePath`>> (if configured). This setting cannot end in a slash (`/`).
2020-05-04 17:48:29 +02:00
| [[server-compression]] `server.compression.enabled:`
| Set to `false` to disable HTTP compression for all responses. *Default: `true`*
2019-12-02 19:09:10 +01:00
2020-12-10 19:15:58 +01:00
| `server.cors.enabled:`
| experimental[] Set to `true` to allow cross-origin API calls. *Default:* `false`
2020-12-14 18:30:58 +01:00
| `server.cors.allowCredentials:`
2020-12-10 19:15:58 +01:00
| experimental[] Set to `true` to allow browser code to access response body whenever request performed with user credentials. *Default:* `false`
2020-12-14 18:30:58 +01:00
| `server.cors.allowOrigin:`
| experimental[] List of origins permitted to access resources. You must specify explicit hostnames and not use `server.cors.allowOrigin: ["*"]` when `server.cors.allowCredentials: true`. *Default:* ["*"]
2020-12-10 19:15:58 +01:00
2020-05-04 17:48:29 +02:00
| `server.compression.referrerWhitelist:`
| Specifies an array of trusted hostnames, such as the {kib} host, or a reverse
proxy sitting in front of it. This determines whether HTTP compression may be used for responses, based on the request `Referer` header.
2020-09-23 18:03:10 +02:00
This setting may not be used when <<server-compression, `server.compression.enabled`>> is set to `false`. *Default: `none`*
2019-12-02 19:09:10 +01:00
2020-05-15 00:08:18 +02:00
| `server.customResponseHeaders:` {ess-icon}
2020-05-04 17:48:29 +02:00
| Header names and values to
send on all responses to the client from the {kib} server. *Default: `{}`*
2018-05-02 19:23:36 +02:00
2020-09-23 18:03:10 +02:00
|[[server-host]] `server.host:`
2020-05-04 17:48:29 +02:00
| This setting specifies the host of the
back end server. To allow remote users to connect, set the value to the IP address or DNS name of the {kib} server. *Default: `"localhost"`*
2018-05-02 19:23:36 +02:00
2020-05-04 17:48:29 +02:00
| `server.keepaliveTimeout:`
| The number of milliseconds to wait for additional data before restarting
2020-09-23 18:03:10 +02:00
the <<server-socketTimeout, `server.socketTimeout`>> counter. *Default: `"120000"`*
2019-07-03 19:22:26 +02:00
2020-05-04 17:48:29 +02:00
| `server.maxPayloadBytes:`
| The maximum payload size in bytes
for incoming server requests. *Default: `1048576`*
2018-05-02 19:23:36 +02:00
2020-05-04 17:48:29 +02:00
| `server.name:`
| A human-readable display name that
identifies this {kib} instance. *Default: `"your-hostname"`*
2018-05-02 19:23:36 +02:00
2020-09-23 18:03:10 +02:00
|[[server-port]] `server.port:`
2020-05-04 17:48:29 +02:00
| {kib} is served by a back end server. This
setting specifies the port to use. *Default: `5601`*
2018-05-02 19:23:36 +02:00
2020-09-23 18:03:10 +02:00
|[[server-requestId-allowFromAnyIp]] `server.requestId.allowFromAnyIp:`
2020-08-21 19:23:53 +02:00
| Sets whether or not the X-Opaque-Id header should be trusted from any IP address for identifying requests in logs and forwarded to Elasticsearch.
| `server.requestId.ipAllowlist:`
2020-09-23 18:03:10 +02:00
| A list of IPv4 and IPv6 address which the `X-Opaque-Id` header should be trusted from. Normally this would be set to the IP addresses of the load balancers or reverse-proxy that end users use to access Kibana. If any are set, <<server-requestId-allowFromAnyIp, `server.requestId.allowFromAnyIp`>> must also be set to `false.`
2020-08-21 19:23:53 +02:00
2020-09-23 18:03:10 +02:00
|[[server-rewriteBasePath]] `server.rewriteBasePath:`
2020-05-04 17:48:29 +02:00
| Specifies whether {kib} should
2020-09-23 18:03:10 +02:00
rewrite requests that are prefixed with <<server-basePath, `server.basePath`>> or require that they
2020-05-04 17:48:29 +02:00
are rewritten by your reverse proxy. In {kib} 6.3 and earlier, the default is
`false`. In {kib} 7.x, the setting is deprecated. In {kib} 8.0 and later, the
default is `true`. *Default: `deprecated`*
2018-05-02 19:23:36 +02:00
2020-09-23 18:03:10 +02:00
|[[server-socketTimeout]] `server.socketTimeout:`
2020-05-04 17:48:29 +02:00
| The number of milliseconds to wait before closing an
inactive socket. *Default: `"120000"`*
2019-07-03 19:22:26 +02:00
2020-09-23 18:03:10 +02:00
|[[server-ssl-cert-key]] `server.ssl.certificate:` and `server.ssl.key:`
2020-05-04 17:48:29 +02:00
| Paths to a PEM-encoded X.509 server certificate and its corresponding private key. These
are used by {kib} to establish trust when receiving inbound SSL/TLS connections from users.
2018-05-02 19:23:36 +02:00
2020-05-04 17:48:29 +02:00
|===
[NOTE]
============
2020-09-23 18:03:10 +02:00
These settings cannot be used in conjunction with <<server-ssl-keystore-path, `server.ssl.keystore.path`>>.
2020-05-04 17:48:29 +02:00
============
[cols="2*<"]
|===
2020-09-23 18:03:10 +02:00
|[[server-ssl-certificateAuthorities]] `server.ssl.certificateAuthorities:`
2020-05-04 17:48:29 +02:00
| Paths to one or more PEM-encoded X.509 certificate authority (CA) certificates which make up a
2020-01-29 20:45:17 +01:00
trusted certificate chain for {kib}. This chain is used by {kib} to establish trust when receiving inbound SSL/TLS connections from end
users. If PKI authentication is enabled, this chain is also used by {kib} to verify client certificates from end users.
2020-09-24 19:22:45 +02:00
2020-09-23 18:03:10 +02:00
In addition to this setting, trusted certificates may be specified via <<server-ssl-keystore-path, `server.ssl.keystore.path`>> and/or <<server-ssl-truststore-path, `server.ssl.truststore.path`>>.
2018-05-02 19:23:36 +02:00
2020-12-17 20:26:42 +01:00
| [[server-ssl-cipherSuites]] `server.ssl.cipherSuites:`
2020-05-04 17:48:29 +02:00
| Details on the format, and the valid options, are available via the
2020-11-13 10:07:13 +01:00
https://www.openssl.org/docs/man1.1.1/man1/ciphers.html#CIPHER-LIST-FORMAT[OpenSSL cipher list format documentation].
*Default: `TLS_AES_256_GCM_SHA384 TLS_CHACHA20_POLY1305_SHA256 TLS_AES_128_GCM_SHA256 ECDHE-RSA-AES128-GCM-SHA256, ECDHE-ECDSA-AES128-GCM-SHA256, ECDHE-RSA-AES256-GCM-SHA384, ECDHE-ECDSA-AES256-GCM-SHA384, DHE-RSA-AES128-GCM-SHA256, ECDHE-RSA-AES128-SHA256, DHE-RSA-AES128-SHA256, ECDHE-RSA-AES256-SHA384, DHE-RSA-AES256-SHA384, ECDHE-RSA-AES256-SHA256, DHE-RSA-AES256-SHA256, HIGH,!aNULL, !eNULL, !EXPORT, !DES, !RC4, !MD5, !PSK, !SRP, !CAMELLIA`*.
2018-05-02 19:23:36 +02:00
2020-05-04 17:48:29 +02:00
| `server.ssl.clientAuthentication:`
| Controls the behavior in {kib} for requesting a certificate from client
2020-01-29 20:45:17 +01:00
connections. Valid values are `"required"`, `"optional"`, and `"none"`. Using `"required"` will refuse to establish the connection unless a
client presents a certificate, using `"optional"` will allow a client to present a certificate if it has one, and using `"none"` will
2020-05-04 17:48:29 +02:00
prevent a client from presenting a certificate. *Default: `"none"`*
2019-08-15 08:48:04 +02:00
2020-09-23 18:03:10 +02:00
|[[server-ssl-enabled]] `server.ssl.enabled:`
2020-05-04 17:48:29 +02:00
| Enables SSL/TLS for inbound connections to {kib}. When set to `true`, a certificate and its
2020-09-23 18:03:10 +02:00
corresponding private key must be provided. These can be specified via <<server-ssl-keystore-path, `server.ssl.keystore.path`>> or the combination of
<<server-ssl-cert-key, `server.ssl.certificate`>> and <<server-ssl-cert-key, `server.ssl.key`>>. *Default: `false`*
2020-01-09 20:47:16 +01:00
2020-05-04 17:48:29 +02:00
| `server.ssl.keyPassphrase:`
2020-09-23 18:03:10 +02:00
| The password that decrypts the private key that is specified via <<server-ssl-cert-key, `server.ssl.key`>>. This value
2020-01-09 20:47:16 +01:00
is optional, as the key may not be encrypted.
2020-09-23 18:03:10 +02:00
|[[server-ssl-keystore-path]] `server.ssl.keystore.path:`
2020-05-04 17:48:29 +02:00
| Path to a PKCS#12 keystore that contains an X.509 server certificate and its corresponding private key. If the
2020-01-29 20:45:17 +01:00
keystore contains any additional certificates, those will be used as a trusted certificate chain for {kib}. All of these are used by {kib}
to establish trust when receiving inbound SSL/TLS connections from end users. The certificate chain is also used by {kib} to verify client
certificates from end users when PKI authentication is enabled.
2020-09-24 19:22:45 +02:00
2020-09-23 18:03:10 +02:00
In addition to this setting, trusted certificates may be specified via <<server-ssl-certificateAuthorities, `server.ssl.certificateAuthorities`>> and/or
<<server-ssl-truststore-path, `server.ssl.truststore.path`>>.
2020-01-29 20:45:17 +01:00
2020-05-04 17:48:29 +02:00
|===
[NOTE]
============
2020-09-23 18:03:10 +02:00
This setting cannot be used in conjunction with <<server-ssl-cert-key, `server.ssl.certificate`>> or <<server-ssl-cert-key, `server.ssl.key`>>
2020-05-04 17:48:29 +02:00
============
2020-01-09 20:47:16 +01:00
2020-05-04 17:48:29 +02:00
[cols="2*<"]
|===
| `server.ssl.keystore.password:`
2020-09-23 18:03:10 +02:00
| The password that will be used to decrypt the keystore specified via <<server-ssl-keystore-path, `server.ssl.keystore.path`>>. If the
2020-01-29 20:45:17 +01:00
keystore has no password, leave this unset. If the keystore has an empty password, set this to `""`.
2020-01-09 20:47:16 +01:00
2020-09-23 18:03:10 +02:00
|[[server-ssl-truststore-path]] `server.ssl.truststore.path:`
2020-05-04 17:48:29 +02:00
| Path to a PKCS#12 trust store that contains one or more X.509 certificate authority (CA) certificates which
2020-01-29 20:45:17 +01:00
make up a trusted certificate chain for {kib}. This chain is used by {kib} to establish trust when receiving inbound SSL/TLS connections
from end users. If PKI authentication is enabled, this chain is also used by {kib} to verify client certificates from end users.
2020-09-24 19:22:45 +02:00
2020-09-23 18:03:10 +02:00
In addition to this setting, trusted certificates may be specified via <<server-ssl-certificateAuthorities, `server.ssl.certificateAuthorities`>> and/or
<<server-ssl-keystore-path, `server.ssl.keystore.path`>>.
2018-05-02 19:23:36 +02:00
2020-05-04 17:48:29 +02:00
| `server.ssl.truststore.password:`
2020-09-23 18:03:10 +02:00
| The password that will be used to decrypt the trust store specified via <<server-ssl-truststore-path, `server.ssl.truststore.path`>>. If
2020-01-29 20:45:17 +01:00
the trust store has no password, leave this unset. If the trust store has an empty password, set this to `""`.
2018-05-02 19:23:36 +02:00
2020-05-04 17:48:29 +02:00
| `server.ssl.redirectHttpFromPort:`
| {kib} binds to this port and redirects
2020-09-23 18:03:10 +02:00
all http requests to https over the port configured as <<server-port, `server.port`>>.
2018-05-02 19:23:36 +02:00
2020-12-17 20:26:42 +01:00
| [[server-ssl-supportedProtocols]] `server.ssl.supportedProtocols:`
2020-05-04 17:48:29 +02:00
| An array of supported protocols with versions.
2020-11-13 10:07:13 +01:00
Valid protocols: `TLSv1`, `TLSv1.1`, `TLSv1.2`, `TLSv1.3`. *Default: TLSv1.1, TLSv1.2, TLSv1.3*
2017-09-12 20:02:37 +02:00
2020-12-03 15:51:44 +01:00
| [[settings-xsrf-allowlist]] `server.xsrf.allowlist:`
2020-05-04 17:48:29 +02:00
| It is not recommended to disable protections for
2020-04-01 22:57:21 +02:00
arbitrary API endpoints. Instead, supply the `kbn-xsrf` header.
2020-12-03 15:51:44 +01:00
The <<settings-xsrf-allowlist, `server.xsrf.allowlist`>> setting requires the following format:
2019-12-16 18:15:13 +01:00
2020-05-04 17:48:29 +02:00
|===
2019-12-16 18:15:13 +01:00
2020-05-04 17:48:29 +02:00
[source,text]
2019-12-16 18:15:13 +01:00
----
*Default: [ ]* An array of API endpoints which should be exempt from Cross-Site Request Forgery ("XSRF") protections.
----
2020-05-04 17:48:29 +02:00
[cols="2*<"]
|===
2020-08-27 20:05:33 +02:00
| [[settings-xsrf-disableProtection]] `server.xsrf.disableProtection:`
2020-08-27 17:07:58 +02:00
| Setting this to `true` will completely disable Cross-site request forgery protection in Kibana. This is not recommended. *Default: `false`*
2020-05-04 17:48:29 +02:00
| `status.allowAnonymous:`
| If authentication is enabled,
setting this to `true` enables unauthenticated users to access the {kib}
server status API and status page. *Default: `false`*
2019-01-24 19:37:54 +01:00
2020-09-23 18:03:10 +02:00
|[[telemetry-allowChangingOptInStatus]] `telemetry.allowChangingOptInStatus`
2020-05-04 17:48:29 +02:00
| When `true`, users are able to change the telemetry setting at a later time in
<<advanced-options, Advanced Settings>>. When `false`,
2020-09-23 18:03:10 +02:00
{kib} looks at the value of <<settings-telemetry-optIn, `telemetry.optIn`>> to determine whether to send
telemetry data or not. <<telemetry-allowChangingOptInStatus, `telemetry.allowChangingOptInStatus`>> and <<settings-telemetry-optIn, `telemetry.optIn`>>
2020-05-04 17:48:29 +02:00
cannot be `false` at the same time. *Default: `true`*.
2019-11-15 01:18:21 +01:00
2020-09-23 18:03:10 +02:00
|[[settings-telemetry-optIn]] `telemetry.optIn`
2020-05-04 17:48:29 +02:00
| When `true`, telemetry data is sent to Elastic.
When `false`, collection of telemetry data is disabled.
To enable telemetry and prevent users from disabling it,
2020-09-23 18:03:10 +02:00
set <<telemetry-allowChangingOptInStatus, `telemetry.allowChangingOptInStatus`>> to `false` and <<settings-telemetry-optIn, `telemetry.optIn`>> to `true`.
2020-05-04 17:48:29 +02:00
*Default: `true`*
2019-11-15 01:18:21 +01:00
2020-05-04 17:48:29 +02:00
| `telemetry.enabled`
| Reporting your cluster statistics helps
2020-01-08 17:02:07 +01:00
us improve your user experience. Your data is never shared with anyone. Set to
`false` to disable telemetry capabilities entirely. You can alternatively opt
2020-05-04 17:48:29 +02:00
out through *Advanced Settings*. *Default: `true`*
2020-05-15 00:08:18 +02:00
| `vis_type_vega.enableExternalUrls:` {ess-icon}
2020-05-04 17:48:29 +02:00
| Set this value to true to allow Vega to use any URL to access external data
sources and images. When false, Vega can only get data from {es}. *Default: `false`*
2020-01-08 17:02:07 +01:00
2020-05-04 17:48:29 +02:00
| `xpack.license_management.enabled`
| Set this value to false to
disable the License Management UI. *Default: `true`*
2019-08-09 10:06:18 +02:00
2020-05-04 17:48:29 +02:00
| `xpack.rollup.enabled:`
| Set this value to false to disable the
Rollup UI. *Default: true*
2019-02-06 21:49:48 +01:00
2020-05-15 00:08:18 +02:00
| `i18n.locale` {ess-icon}
2020-05-04 17:48:29 +02:00
| Set this value to change the {kib} interface language.
Valid locales are: `en`, `zh-CN`, `ja-JP`. *Default: `en`*
2019-02-11 18:50:20 +01:00
2020-05-04 17:48:29 +02:00
|===
2019-04-04 20:15:14 +02:00
2020-06-02 00:51:19 +02:00
include::{kib-repo-dir}/settings/alert-action-settings.asciidoc[]
include::{kib-repo-dir}/settings/apm-settings.asciidoc[]
include::{kib-repo-dir}/settings/dev-settings.asciidoc[]
include::{kib-repo-dir}/settings/graph-settings.asciidoc[]
2020-10-07 19:39:51 +02:00
include::{kib-repo-dir}/settings/fleet-settings.asciidoc[]
2020-06-02 00:51:19 +02:00
include::{kib-repo-dir}/settings/i18n-settings.asciidoc[]
include::{kib-repo-dir}/settings/logs-ui-settings.asciidoc[]
2020-06-11 00:55:58 +02:00
include::{kib-repo-dir}/settings/infrastructure-ui-settings.asciidoc[]
2020-06-02 00:51:19 +02:00
include::{kib-repo-dir}/settings/ml-settings.asciidoc[]
include::{kib-repo-dir}/settings/monitoring-settings.asciidoc[]
include::{kib-repo-dir}/settings/reporting-settings.asciidoc[]
2019-02-11 18:50:20 +01:00
include::secure-settings.asciidoc[]
2020-06-02 00:51:19 +02:00
include::{kib-repo-dir}/settings/security-settings.asciidoc[]
include::{kib-repo-dir}/settings/spaces-settings.asciidoc[]
2021-02-16 16:00:32 +01:00
include::{kib-repo-dir}/settings/task-manager-settings.asciidoc[]
2021-03-04 21:42:57 +01:00
include::{kib-repo-dir}/settings/telemetry-settings.asciidoc[]