General settings in Kibana
Use these settings to configure general features available in Kibana.
General settings
- console.ui.enabled
-
Supported on:
Toggling this causes the server to regenerate assets on the next startup, which may cause a delay before pages start being served. Set to
falseto disable Console.Datatype:
boolDefault:
true - execution_context.enabled
-
Supported on:
Propagate request-specific metadata to Elasticsearch server by way of the
x-opaque-idheader. It is available in Elastic Cloud 8.1.0 and later versions.Datatype:
bool - newsfeed.enabled
-
Supported on:
Controls whether to enable the newsfeed system for the Kibana UI notification center. Set to
falseto disable the newsfeed system.Datatype:
boolDefault:
true - node.roles
-
Supported on:
Indicates which roles to configure the Kibana process with, which will effectively run Kibana in different modes. Valid options are
background_tasksandui, or*to select all roles.Datatype:
stringDefault:
* - notifications.connectors.default.email
-
Supported on:
Choose the default email connector for user notifications. As of
8.6.0, Kibana is shipping with a new notification mechanism that will send email notifications for various user actions, e.g. assigning a Case to a user. To enable notifications, an email connector must be preconfigured in the system viakibana.yml, and the notifications plugin must be configured to point to the ID of that connector.Datatype:
string - ops.interval
-
Supported on:
Set the interval in milliseconds to sample system and process performance metrics. The minimum value is 100.
Datatype:
intDefault:
5000 - ops.cGroupOverrides.cpuPath
-
Supported on:
Override for cgroup cpu path when mounted in a manner that is inconsistent with
/proc/self/cgroup.Datatype:
string - ops.cGroupOverrides.cpuAcctPath
-
Supported on:
Override for cgroup cpuacct path when mounted in a manner that is inconsistent with
/proc/self/cgroup.Datatype:
string - path.data
-
Supported on:
The path where Kibana stores persistent data not saved in Elasticsearch.
Datatype:
stringDefault:
data - permissionsPolicy.report_to
-
Supported on:
Add sources for the Permissions Policy
report-todirective.Datatype:
string - pid.file
-
Supported on:
Specifies the path where Kibana creates the process ID file.
Datatype:
string - status.allowAnonymous
-
Supported on:
If authentication is enabled, setting this to
trueenables unauthenticated users to access the Kibana server status API and status page.Datatype:
boolDefault:
false
Content Security Policy (CSP) settings
- csp.script_src
-
Supported on:
Add sources for the Content Security Policy
script-srcdirective.Datatype:
string - csp.disableUnsafeEval
-
Supported on:
Set this to
falseto add theunsafe-evalsource expression to thescript-srcdirective.When
csp.disableUnsafeEvalis set totrue, Kibana will use a custom version of the Handlebars template library. Handlebars is used in various locations in the Kibana frontend where custom templates can be supplied by the user when for instance setting up a visualisation. If you experience any issues rendering Handlebars templates, please set this setting tofalseand open an issue in the Kibana GitHub repository.Datatype:
boolDefault:
trueDeprecation detailsDeprecated in 8.7.0. Use
csp.script_src: ['unsafe-eval']instead if you wish to enableunsafe-eval. This config option will have no effect in a future version. - csp.worker_src
-
Supported on:
Add sources for the Content Security Policy
worker-srcdirective.Datatype:
string - csp.style_src
-
Supported on:
Add sources for the Content Security Policy
style-srcdirective.Datatype:
string - csp.connect_src
-
Supported on:
Add sources for the Content Security Policy
connect-srcdirective.Datatype:
string - csp.default_src
-
Supported on:
Add sources for the Content Security Policy
default-srcdirective.Datatype:
string - csp.font_src
-
Supported on:
Add sources for the Content Security Policy
font-srcdirective.Datatype:
string - csp.frame_src
-
Supported on:
Add sources for the Content Security Policy
frame-srcdirective.Datatype:
string - csp.img_src
-
Supported on:
Add sources for the Content Security Policy
img-srcdirective.Datatype:
string - csp.object_src
-
Supported on:
Add sources for the Content Security Policy
object-srcdirective.Datatype:
string - csp.frame_ancestors
-
Supported on:
Add sources for the Content Security Policy
frame-ancestorsdirective.Datatype:
stringNoteThe
frame-ancestorsdirective can also be configured by usingserver.securityResponseHeaders.disableEmbedding. In that case, that takes precedence and any values incsp.frame_ancestorsare ignored. - csp.report_only.form_action
-
Supported on:
Add sources for the Content Security Policy
form-actiondirective in reporting mode.Datatype:
string - csp.report_only.object_src
-
Supported on:
Add sources for the Content Security Policy
object-srcdirective in reporting mode.Datatype:
stringDeprecation detailsThis setting is deprecated in favor of
csp.object_src. - csp.report_uri
-
Supported on:
Add sources for the Content Security Policy
report-uridirective.Datatype:
string - csp.report_to
-
Supported on:
Add sources for the Content Security Policy
report-todirective.Datatype:
string - csp.strict
-
Supported on:
Blocks Kibana access to any browser that does not enforce even rudimentary CSP rules. In practice, this disables support for older, less safe browsers like Internet Explorer.
Datatype:
boolDefault:
true - csp.warnLegacyBrowsers
-
Supported on:
Shows a warning message after loading Kibana to any browser that does not enforce even rudimentary CSP rules, though Kibana is still accessible. This configuration is effectively ignored when
csp.strictis enabled.Datatype:
boolDefault:
true
Elasticsearch connection settings
- elasticsearch.customHeaders
-
Supported on:
Header names and values to send to Elasticsearch. Any custom headers cannot be overwritten by client-side headers, regardless of the
elasticsearch.requestHeadersWhitelistconfiguration.Datatype:
stringDefault:
{} - elasticsearch.hosts
-
Supported on:
The URLs of the Elasticsearch instances to use for all your queries. All nodes listed here must be on the same cluster.
To enable SSL/TLS for outbound connections to Elasticsearch, use the
httpsprotocol in this setting.Datatype:
stringDefault:
[ "http://localhost:9200" ] - elasticsearch.publicBaseUrl
-
Supported on:
The URL through which Elasticsearch is publicly accessible, if any. This will be shown to users in Kibana when they need connection details for your Elasticsearch cluster.
Datatype:
string - elasticsearch.pingTimeout
-
Supported on:
Time in milliseconds to wait for Elasticsearch to respond to pings. Defaults to the value of the
elasticsearch.requestTimeoutsetting.Datatype:
int - elasticsearch.requestHeadersWhitelist
-
Supported on:
List of Kibana client-side headers to send to Elasticsearch. To send no client-side headers, set this value to [] (an empty list). Removing the
authorizationheader from being whitelisted means that you cannot use basic authentication in Kibana.Datatype:
stringDefault:
[ 'authorization', 'es-client-authentication' ] - elasticsearch.requestTimeout
-
Supported on:
Time in milliseconds to wait for responses from the back end or Elasticsearch. This value must be a positive integer.
Datatype:
intDefault:
30000 - elasticsearch.shardTimeout
-
Supported on:
Time in milliseconds for Elasticsearch to wait for responses from shards. Set to 0 to disable.
Datatype:
intDefault:
30000 - elasticsearch.compression
-
Supported on:
Specifies whether Kibana should use compression for communications with Elasticsearch. It is available in Elastic Cloud 8.3.0 and later versions.
Datatype:
boolDefault:
false - elasticsearch.sniffInterval
-
Supported on:
Time in milliseconds between requests to check Elasticsearch for an updated list of nodes.
Datatype:
stringDefault:
false - elasticsearch.sniffOnStart
-
Supported on:
Attempt to find other Elasticsearch nodes on startup.
Datatype:
boolDefault:
false - elasticsearch.sniffOnConnectionFault
-
Supported on:
Update the list of Elasticsearch nodes immediately following a connection fault.
Datatype:
boolDefault:
false - elasticsearch.maxSockets
-
Supported on:
The maximum number of sockets that can be used for communications with Elasticsearch. It is available in Elastic Cloud 8.2.0 and later versions.
Datatype:
intDefault:
800 - elasticsearch.maxResponseSize
-
Supported on:
Either
falseor abyteSizevalue. When set, responses from Elasticsearch with a size higher than the defined limit will be rejected. This is intended to be used as a circuit-breaker mechanism to avoid memory errors in case of unexpectedly high responses coming from Elasticsearch.Datatype:
stringDefault:
false - elasticsearch.maxIdleSockets
-
Supported on:
The maximum number of idle sockets to keep open between Kibana and Elasticsearch. If more sockets become idle, they will be closed.
Datatype:
intDefault:
256 - elasticsearch.idleSocketTimeout
-
Supported on:
The timeout for idle sockets kept open between Kibana and Elasticsearch. If the socket is idle for longer than this timeout, it will be closed. If you have a transparent proxy between Kibana and Elasticsearch be sure to set this value lower than or equal to the proxy's timeout.
Datatype:
stringDefault:
60s - elasticsearch.username
-
Supported on:
If your Elasticsearch is protected with basic authentication, this setting provides the username that the Kibana server uses to perform maintenance on the Kibana index at startup. Kibana users still need to authenticate with Elasticsearch, which is proxied through the Kibana server.
Datatype:
string - elasticsearch.password
-
Supported on:
If your Elasticsearch is protected with basic authentication, this setting provides the password that the Kibana server uses to perform maintenance on the Kibana index at startup. Kibana users still need to authenticate with Elasticsearch, which is proxied through the Kibana server.
Datatype:
string - elasticsearch.serviceAccountToken
-
Supported on:
If your Elasticsearch is protected with basic authentication, this token provides the credentials that the Kibana server uses to perform maintenance on the Kibana index at startup. This setting is an alternative to
elasticsearch.usernameandelasticsearch.password.Datatype:
string
Elasticsearch SSL settings
- elasticsearch.ssl.alwaysPresentCertificate
-
Supported on:
Controls Kibana behavior in regard to presenting a client certificate when requested by Elasticsearch. This setting applies to all outbound SSL/TLS connections to Elasticsearch, including requests that are proxied for end users.
Datatype:
boolDefault:
falseWarningWhen Elasticsearch uses certificates to authenticate end users with a PKI realm and
elasticsearch.ssl.alwaysPresentCertificateistrue, proxied requests may be executed as the identity that is tied to the Kibana server. - elasticsearch.ssl.certificate
-
Supported on:
Path to a PEM-encoded X.509 client certificate. This is used by Kibana to authenticate itself when making outbound SSL/TLS connections to Elasticsearch. For this setting to take effect, the
xpack.security.http.ssl.client_authenticationsetting in Elasticsearch must be also be set to"required"or"optional"to request a client certificate from Kibana.Datatype:
stringNoteThis setting cannot be used in conjunction with
elasticsearch.ssl.keystore.path. - elasticsearch.ssl.key
-
Supported on:
Path to the corresponding private key for the PEM-encoded X.509 client certificate specified via
elasticsearch.ssl.certificate. These are used by Kibana to authenticate itself when making outbound SSL/TLS connections to Elasticsearch. For this setting to take effect, thexpack.security.http.ssl.client_authenticationsetting in Elasticsearch must be also be set to"required"or"optional"to request a client certificate from Kibana.Datatype:
stringNoteThis setting cannot be used in conjunction with
elasticsearch.ssl.keystore.path. -
Supported on:
Paths to one or more PEM-encoded X.509 certificate authority (CA) certificates, which make up a trusted certificate chain for Elasticsearch. This chain is used by Kibana to establish trust when making outbound SSL/TLS connections to Elasticsearch.
In addition to this setting, trusted certificates may be specified via
elasticsearch.ssl.keystore.pathand/orelasticsearch.ssl.truststore.path.Datatype:
string - elasticsearch.ssl.keyPassphrase
-
Supported on:
The password that decrypts the private key that is specified via
elasticsearch.ssl.key. This value is optional, as the key may not be encrypted.Datatype:
string - elasticsearch.ssl.keystore.path
-
Supported on:
Path to a PKCS#12 keystore that contains an X.509 client certificate and it's corresponding private key. These are used by Kibana to authenticate itself when making outbound SSL/TLS connections to Elasticsearch. For this setting, you must also set the
xpack.security.http.ssl.client_authenticationsetting in Elasticsearch to"required"or"optional"to request a client certificate from Kibana.If the keystore contains any additional certificates, they are used as a trusted certificate chain for Elasticsearch. This chain is used by Kibana to establish trust when making outbound SSL/TLS connections to Elasticsearch. In addition to this setting, trusted certificates may be specified via
elasticsearch.ssl.certificateAuthoritiesand/orelasticsearch.ssl.truststore.path.Datatype:
stringNoteThis setting cannot be used in conjunction with
elasticsearch.ssl.certificateorelasticsearch.ssl.key. - elasticsearch.ssl.keystore.password
-
Supported on:
The password that decrypts the keystore specified via
elasticsearch.ssl.keystore.path. If the keystore has no password, leave this as blank. If the keystore has an empty password, set this to"".Datatype:
string - elasticsearch.ssl.truststore.path
-
Supported on:
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 Elasticsearch. This chain is used by Kibana to establish trust when making outbound SSL/TLS connections to Elasticsearch.
In addition to this setting, trusted certificates may be specified via
elasticsearch.ssl.certificateAuthoritiesand/orelasticsearch.ssl.keystore.path.Datatype:
string - elasticsearch.ssl.truststore.password
-
Supported on:
The password that decrypts the trust store specified via
elasticsearch.ssl.truststore.path. If the trust store has no password, leave this as blank. If the trust store has an empty password, set this to"".Datatype:
string - elasticsearch.ssl.verificationMode
-
Supported on:
Controls the verification of the server certificate that Kibana receives when making an outbound SSL/TLS connection to Elasticsearch. Valid values are
"full","certificate", and"none". Using"full"performs hostname verification, using"certificate"skips hostname verification, and using"none"skips verification entirely.Datatype:
enumDefault:
fullOptions:
-
full -
certificate -
none
-
Logging settings
- logging.root
-
Supported on:
The
rootlogger is a dedicated logger and is pre-configured. Therootlogger logs atinfolevel by default. If any other logging configuration is specified,rootmust also be explicitly configured.Datatype:
string - logging.root.appenders
-
Supported on:
A list of logging appenders to forward the root level logger instance to. By default
rootis configured with thedefaultappender that logs to stdout with apatternlayout. This is the configuration that all custom loggers will use unless they're re-configured explicitly. You can override the default behavior by configuring a different appender to apply toroot.Datatype:
string - logging.root.level
-
Supported on:
Level at which a log record should be logged. Supported levels are: all, fatal, error, warn, info, debug, trace, off. Levels are ordered from all (highest) to off and a log record will be logged it its level is higher than or equal to the level of its logger, otherwise the log record is ignored. Use this value to change the overall log level.
Datatype:
enumDefault:
infoOptions:
-
all -
fatal -
error -
warn -
info -
debug -
trace -
off
TipSet to
allto log all events, including system usage information and all requests. Set tooffto silence all logs. You can also use the logging cli commands to set log level toverboseor silence all logs.The following example shows a valid verbose
logging.rootconfiguration:logging: appenders: console_appender: type: console layout: type: pattern highlight: true root: appenders: [console_appender] level: all -
- logging.loggers[]
-
Supported on:
Allows you to customize a specific logger instance.
Datatype:
string - logging.appenders[]
-
Supported on:
Appenders define how and where log messages are displayed (eg. stdout or console) and stored (eg. file on the disk).
Datatype:
string
Map settings
- map.includeElasticMapsService
-
Supported on:
Set to
falseto disable connections to Elastic Maps Service. WhenincludeElasticMapsServiceis turned off, only tile layer configured bymap.tilemap.urlis available in Maps.Datatype:
boolDefault:
true - map.emsUrl
-
Supported on:
Specifies the URL of a self hosted Elastic Maps Server
Datatype:
string - map.tilemap.options.attribution
-
Supported on:
The map attribution string. Provide attributions in markdown and use
\|to delimit attributions, for example:"[attribution 1](https://www.attribution1)\|[attribution 2](https://www.attribution2)".Datatype:
stringDefault:
"© [Elastic Maps Service](https://www.elastic.co/elastic-maps-service)" - map.tilemap.options.maxZoom
-
Supported on:
The maximum zoom level.
Datatype:
intDefault:
10 - map.tilemap.options.minZoom
-
Supported on:
The minimum zoom level.
Datatype:
intDefault:
1 - map.tilemap.options.subdomains
-
Supported on:
An array of subdomains used by the tile service. Specify the position of the subdomain the URL with the token
{{s}}.Datatype:
string - map.tilemap.url
-
Supported on:
The URL to the service that Kibana uses as the default basemap in maps and vega maps. By default, Kibana sets a basemap from the Elastic Maps Service, but users can point to 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"Datatype:
string
Migrations settings
- migrations.batchSize
-
Supported on:
Defines the number of documents migrated at a time. The higher the value, the faster the Saved Objects migration process performs at the cost of higher memory consumption. If upgrade migrations results in Kibana crashing with an out of memory exception or fails due to an Elasticsearch
circuit_breaking_exception, use a smallerbatchSizevalue to reduce the memory pressure.Datatype:
intDefault:
1000 - migrations.discardUnknownObjects
-
Supported on:
Discard saved objects with unknown types during a migration. Must be set to the target version, for example:
8.4.0. Default: undefined. It is available in Elastic Cloud 8.4.0 and later versions.Datatype:
string - migrations.discardCorruptObjects
-
Supported on:
Discard corrupt saved objects, as well as those that cause transform errors during a migration. Must be set to the target version, for example:
8.4.0. Default: undefined. It is available in Elastic Cloud 8.4.0 and later versions.Datatype:
string - migrations.maxBatchSizeBytes
-
Supported on:
Defines the maximum payload size for indexing batches of upgraded saved objects to avoid migrations failing due to a 413 Request Entity Too Large response from Elasticsearch. This value should be lower than or equal to your Elasticsearch cluster's
http.max_content_lengthconfiguration option.Datatype:
stringDefault:
100mb - migrations.retryAttempts
-
Supported on:
The number of times migrations retry temporary failures, such as a network timeout, 503 status code, or
snapshot_in_progress_exception. When upgrade migrations frequently fail after exhausting all retry attempts with a message such asUnable to complete the [...] step after 15 attempts, terminating., increase the setting value.Datatype:
intDefault:
15 - migrations.useCumulativeLogger
-
Supported on:
Skip logging migration progress unless there are any errors. Set to
falsewhen troubleshooting migration issues and not automatically shown.Datatype:
boolDefault:
true
Saved Objects settings
- savedObjects.maxImportExportSize
-
Supported on:
The maximum count of saved objects that can be imported or exported. This setting exists to prevent the Kibana server from running out of memory when handling large numbers of saved objects. It is recommended to only raise this setting if you are confident your server can hold this many objects in memory.
Datatype:
intDefault:
10000 - savedObjects.maxImportPayloadBytes
-
Supported on:
The maximum byte size of a saved objects import that the Kibana server will accept. This setting exists to prevent the Kibana server from running out of memory when handling a large import payload. Note that this setting overrides the more general
server.maxPayloadfor saved object imports only.Datatype:
intDefault:
26214400
Search and autocomplete settings
- data.autocomplete.valueSuggestions.terminateAfter
-
Supported on:
Specifies the max number of documents loaded by each shard to generate autocomplete suggestions. Allowed values are between 1 and 10000000.
Datatype:
intDefault:
100000 - data.autocomplete.valueSuggestions.timeout
-
Supported on:
Specifies the time in milliseconds to wait for autocomplete suggestions from Elasticsearch. Allowed values are between 1 and 1200000.
Datatype:
intDefault:
1000 - unifiedSearch.autocomplete.valueSuggestions.timeout
-
Supported on:
Time in milliseconds to wait for autocomplete suggestions from Elasticsearch. This value must be a whole number greater than zero.
Datatype:
intDefault:
1000 - unifiedSearch.autocomplete.valueSuggestions.terminateAfter
-
Supported on:
Maximum number of documents loaded by each shard to generate autocomplete suggestions. This value must be a whole number greater than zero.
Datatype:
intDefault:
100000NoteTo reload the logging settings, send a SIGHUP signal to Kibana. For more logging configuration options, see the Configure Logging in Kibana guide.
Server settings
- server.basePath
-
Supported on:
Enables you to specify a path to mount Kibana at if you are running behind a proxy. Use the
server.rewriteBasePathsetting to tell Kibana 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 (/).Datatype:
string - server.publicBaseUrl
-
Supported on:
The publicly available URL that end-users access Kibana at. Must include the protocol, hostname, port (if different than the defaults for
httpandhttps, 80 and 443 respectively), and theserver.basePath(when that setting is configured explicitly). This setting cannot end in a slash (/).Datatype:
string - server.host
-
Supported on:
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 Kibana server. Use
0.0.0.0to make Kibana listen on all IPs (public and private).Datatype:
stringDefault:
"localhost" - server.keepaliveTimeout
-
Supported on:
The number of milliseconds to wait for additional data before restarting the
server.socketTimeoutcounter.Datatype:
intDefault:
120000 - server.maxPayload
-
Supported on:
The maximum payload size in bytes for incoming server requests.
Datatype:
intDefault:
1048576 - server.name
-
Supported on:
A human-readable display name that identifies this Kibana instance.
Datatype:
stringDefault:
"your-hostname" - server.port
-
Supported on:
Kibana is served by a back end server. This setting specifies the port to use.
Datatype:
intDefault:
5601 - server.protocol
-
Supported on:
The HTTP protocol to use, either
http1orhttp2. Set tohttp1to opt out ofHTTP/2support when TLS is enabled. Use ofhttp1may impact browser loading performance especially for dashboards with many panels. Default ishttp2if TLS is enabled, otherwisehttp1.Datatype:
enumOptions:
-
http1 -
http2
NoteBy default, enabling
http2requires a validh2cconfiguration, meaning that TLS must be enabled viaserver.ssl.enabledandserver.ssl.supportedprotocols, if specified, must contain at leastTLSv1.2orTLSv1.3. Strict validation of theh2csetup can be disabled by addingserver.http2.allowUnsecure: trueto the configuration. -
- server.shutdownTimeout
-
Supported on:
Sets the grace period for Kibana to attempt to resolve any ongoing HTTP requests after receiving a
SIGTERM/SIGINTsignal, and before shutting down. Any new HTTP requests received during this period are rejected, because the incoming socket is closed without further processing.Datatype:
stringDefault:
30s - server.socketTimeout
-
Supported on:
The number of milliseconds to wait before closing an inactive socket.
Datatype:
intDefault:
120000 - server.payloadTimeout
-
Supported on:
Sets the maximum time allowed for the client to transmit the request payload (body) before giving up and responding with a Request Timeout (408) error response.
Datatype:
intDefault:
20000 - server.customResponseHeaders
-
Supported on:
Header names and values to send on all responses to the client from the Kibana server.
Datatype:
stringDefault:
{} - server.requestId.allowFromAnyIp
-
Supported on:
Sets whether or not the
X-Opaque-Idheader should be trusted from any IP address for identifying requests in logs and forwarded to Elasticsearch.Datatype:
bool - server.requestId.ipAllowlist
-
Supported on:
A list of IPv4 and IPv6 address which the
X-Opaque-Idheader 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.allowFromAnyIpmust also be set tofalse.Datatype:
string - server.rewriteBasePath
-
Supported on:
Specifies whether Kibana should rewrite requests that are prefixed with
server.basePathor require that they are rewritten by your reverse proxy.Datatype:
boolDefault:
false - server.uuid
-
Supported on:
The unique identifier for this Kibana instance. It must be a valid UUIDv4. It gets automatically generated on the first startup if not specified and persisted in the
datapath.Datatype:
string
Server compression settings
- server.compression.enabled
-
Supported on:
Set to
falseto disable HTTP compression for all responses.Datatype:
boolDefault:
true - server.compression.referrerWhitelist
-
Supported on:
Specifies an array of trusted hostnames, such as the Kibana host, or a reverse proxy sitting in front of it. This determines whether HTTP compression may be used for responses, based on the request
Refererheader. This setting may not be used whenserver.compression.enabledis set tofalse.Datatype:
string - server.compression.brotli.enabled
-
Supported on:
Set to
trueto enable brotli (br) compression format. Browsers not supporting brotli compression will fallback to using gzip instead. This setting may not be used whenserver.compression.enabledis set tofalse. It is available in Elastic Cloud 8.6.0 and later versions.Datatype:
boolDefault:
false
Server CORS settings
- server.cors.enabled
-
Supported on:
Set to
trueto allow cross-origin API calls.Datatype:
boolDefault:
false - server.cors.allowCredentials
-
Supported on:
Set to
trueto allow browser code to access response body whenever request performed with user credentials.Datatype:
boolDefault:
false - server.cors.allowOrigin
-
Supported on:
List of origins permitted to access resources. You must specify explicit hostnames and not use
server.cors.allowOrigin: ["*"]whenserver.cors.allowCredentials: true.Datatype:
stringDefault:
["*"]
Server rate limiter settings
- server.rateLimiter.enabled
-
Supported on:
Enables rate-limiting of requests to the Kibana server based on Node.js' Event Loop Utilization. If the average event loop utilization for the specified term exceeds the configured threshold, the server will respond with a
429 Too Many Requestsstatus code.This functionality should be used carefully as it may impact the server's availability. The configuration options vary per environment, so it is recommended to enable this option in a testing environment first, adjust the rate-limiter configuration, and then roll it out to production.
Datatype:
boolDefault:
false - server.rateLimiter.elu
-
Supported on:
The Event Loop Utilization (ELU) threshold for rate-limiting requests to the Kibana server. The ELU is a value between 0 and 1, representing the average event loop utilization over the specified term. If the average ELU exceeds this threshold, the server will respond with a
429 Too Many Requestsstatus code.In a multi-instance environment with autoscaling, this value is usually between 0.6 and 0.8 to give the autoscaler enough time to react. This value can be higher in a single-instance environment but should not exceed 1.0. In general, the lower the value, the more aggressive the rate limiting. And the highest possible option should be used to prevent the Kibana server from being terminated.
Datatype:
float - server.rateLimiter.term
-
Supported on:
This value is one of
short,medium, orlong, representing the term over which the average event loop utilization is calculated. It uses exponential moving averages (EMA) to smooth out the utilization values. Each term corresponds to15s,30s, and60s, respectively.The term value also changes the way the rate limiter sees the trend in the load:
short:elu.short > server.rateLimiter.term;medium:elu.short > server.rateLimiter.elu AND elu.medium > server.rateLimiter.elu;long:elu.short > server.rateLimiter.elu AND elu.medium > server.rateLimiter.elu AND elu.long > server.rateLimiter.elu.
This behavior prevents requests from being throttled if the load starts decreasing. In general, the shorter the term, the more aggressive the rate limiting. In the multi-instance environment, the
mediumterm makes the most sense as it gives the Kibana server enough time to spin up a new instance and prevents the existing instances from being terminated.Datatype:
enumOptions:
-
short -
medium -
long
Server security response headers
- server.securityResponseHeaders.strictTransportSecurity
-
Supported on:
Controls whether the
Strict-Transport-Securityheader is used in all responses to the client from the Kibana server, and specifies what value is used. Allowed values are any text value ornull. To disable, set tonull.Datatype:
stringDefault:
null - server.securityResponseHeaders.xContentTypeOptions
-
Supported on:
Controls whether the
X-Content-Type-Optionsheader is used in all responses to the client from the Kibana server, and specifies what value is used. Allowed values arenosniffornull. To disable, set tonull.Datatype:
stringDefault:
"nosniff" - server.securityResponseHeaders.referrerPolicy
-
Supported on:
Controls whether the
Referrer-Policyheader is used in all responses to the client from the Kibana server, and specifies what value is used. Allowed values areno-referrer,no-referrer-when-downgrade,origin,origin-when-cross-origin,same-origin,strict-origin,strict-origin-when-cross-origin,unsafe-url, ornull. To disable, set tonull.Datatype:
stringDefault:
"strict-origin-when-cross-origin" - server.securityResponseHeaders.permissionsPolicy
-
Supported on:
Controls whether the
Permissions-Policyheader is used in all responses to the client from the Kibana server, and specifies what value is used. Allowed values are any text value ornull. Refer to thePermissions-Policydocumentation for defined directives, values, and text format. To disable, set tonull.Datatype:
stringDefault:
camera=(), display-capture=(), fullscreen=(self), geolocation=(), microphone=(), web-share=() - server.securityResponseHeaders.permissionsPolicyReportOnly
-
Supported on:
Controls whether the
Permissions-Policy-Report-Onlyheader is used in all responses to the client from the Kibana server, and specifies what value is used. Allowed values are any text value ornull. Refer to thePermissions-Policydocumentation for defined directives, values, and text format.Datatype:
string - server.securityResponseHeaders.disableEmbedding
-
Supported on:
Controls whether the
Content-Security-PolicyandX-Frame-Optionsheaders are configured to disable embedding Kibana in other webpages using iframes. When set totrue, secure headers are used to disable embedding, which adds theframe-ancestors: 'self'directive to theContent-Security-Policyresponse header and adds theX-Frame-Options: SAMEORIGINresponse header.Datatype:
boolDefault:
false - server.securityResponseHeaders.crossOriginOpenerPolicy
-
Supported on:
Controls whether the
Cross-Origin-Opener-Policyheader is used in all responses to the client from the Kibana server, and specifies what value is used. Allowed values areunsafe-none,same-origin-allow-popups,same-origin, ornull. To disable, set tonull. It is available in Elastic Cloud 8.7.0 and later versions.Datatype:
enumDefault:
"same-origin"Options:
-
unsafe-none -
same-origin-allow-popups -
same-origin -
null
-
Server SSL settings
- server.ssl.certificate
-
Supported on:
Path to a PEM-encoded X.509 server certificate. This is used by Kibana to establish trust when receiving inbound SSL/TLS connections from users.
Datatype:
stringNoteThis setting cannot be used in conjunction with
server.ssl.keystore.path. - server.ssl.key
-
Supported on:
Path to the corresponding private key for the PEM-encoded X.509 server certificate specified via
server.ssl.certificate. This is used by Kibana to establish trust when receiving inbound SSL/TLS connections from users.Datatype:
stringNoteThis setting cannot be used in conjunction with
server.ssl.keystore.path. -
Supported on:
Paths to one or more PEM-encoded X.509 certificate authority (CA) certificates which make up a trusted certificate chain for Kibana. This chain is used by Kibana to establish trust when receiving inbound SSL/TLS connections from end users. If PKI authentication is enabled, this chain is also used by Kibana to verify client certificates from end users.
In addition to this setting, trusted certificates may be specified via
server.ssl.keystore.pathand/orserver.ssl.truststore.path.Datatype:
string - server.ssl.cipherSuites
-
Supported on:
Details on the format, and the valid options, are available via the OpenSSL cipher list format documentation.
Datatype:
stringDefault:
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 - server.ssl.clientAuthentication
-
Supported on:
Controls the behavior in Kibana for requesting a certificate from client 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 prevent a client from presenting a certificate.Datatype:
enumDefault:
"none"Options:
-
required -
optional -
none
-
- server.ssl.enabled
-
Supported on:
Enables SSL/TLS for inbound connections to Kibana. When set to
true, a certificate and its corresponding private key must be provided. These can be specified viaserver.ssl.keystore.pathor the combination ofserver.ssl.certificateandserver.ssl.key.Datatype:
boolDefault:
false - server.ssl.keyPassphrase
-
Supported on:
The password that decrypts the private key that is specified via
server.ssl.key. This value is optional, as the key may not be encrypted.Datatype:
string - server.ssl.keystore.path
-
Supported on:
Path to a PKCS#12 keystore that contains an X.509 server certificate and its corresponding private key. If the keystore contains any additional certificates, those will be used as a trusted certificate chain for Kibana. All of these are used by Kibana to establish trust when receiving inbound SSL/TLS connections from end users. The certificate chain is also used by Kibana to verify client certificates from end users when PKI authentication is enabled.
In addition to this setting, trusted certificates may be specified via
server.ssl.certificateAuthoritiesand/orserver.ssl.truststore.path.Datatype:
stringNoteThis setting cannot be used in conjunction with
server.ssl.certificateorserver.ssl.key. - server.ssl.keystore.password
-
Supported on:
The password that will be used to decrypt the keystore specified via
server.ssl.keystore.path. If the keystore has no password, leave this unset. If the keystore has an empty password, set this to"".Datatype:
string - server.ssl.truststore.path
-
Supported on:
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 Kibana. This chain is used by Kibana to establish trust when receiving inbound SSL/TLS connections from end users. If PKI authentication is enabled, this chain is also used by Kibana to verify client certificates from end users.
In addition to this setting, trusted certificates may be specified via
server.ssl.certificateAuthoritiesand/orserver.ssl.keystore.path.Datatype:
string - server.ssl.truststore.password
-
Supported on:
The password that will be used to decrypt the trust store specified via
server.ssl.truststore.path. If the trust store has no password, leave this unset. If the trust store has an empty password, set this to"".Datatype:
string - server.ssl.redirectHttpFromPort
-
Supported on:
Kibana binds to this port and redirects all http requests to https over the port configured as
server.port.Datatype:
int - server.ssl.supportedProtocols
-
Supported on:
An array of supported protocols with versions. Valid protocols:
TLSv1,TLSv1.1,TLSv1.2,TLSv1.3. EnablingTLSv1.1would require both setting the--tls-min-1.1option in thenode.optionsconfiguration and addingTLSv1.1toserver.ssl.supportedProtocols.HTTP/2requires the use of minimumTLSv1.2for secure connections.Datatype:
stringDefault:
TLSv1.2, TLSv1.3
Server XSRF settings
- server.xsrf.allowlist
-
Supported on:
It is not recommended to disable protections for arbitrary API endpoints. Instead, supply the
kbn-xsrfheader. Theserver.xsrf.allowlistsetting requires the following format:*Default: [ ]* An array of API endpoints which should be exempt from Cross-Site Request Forgery ("XSRF") protections.It is available in Elastic Cloud 8.0.0 and later versions.
Datatype:
stringDefault:
[] - server.xsrf.disableProtection
-
Supported on:
Setting this to
truewill completely disable Cross-site request forgery protection in Kibana. This is not recommended.Datatype:
boolDefault:
false
Telemetry settings
- telemetry.allowChangingOptInStatus
-
Supported on:
When
false, users cannot change the opt-in status through Advanced Settings, and Kibana only looks at the value oftelemetry.optInto determine whether to send telemetry data or not.Datatype:
boolDefault:
true - telemetry.optIn
-
Supported on:
Set to
falseto stop sending any telemetry data to Elastic. Reporting your cluster statistics helps us improve your user experience. Whenfalse, the telemetry data is never sent to Elastic.This setting can be changed at any time in Advanced Settings. To prevent users from changing it, set
telemetry.allowChangingOptInStatustofalse.Datatype:
boolDefault:
true
UI and visualization settings
- uiSettings.globalOverrides.hideAnnouncements
-
Supported on:
Set to
trueto stop showing messages and tours that highlight new features.Datatype:
boolDefault:
false - uiSettings.globalOverrides.hideFeedback
-
Supported on:
Set to
trueto stop showing elements requesting user feedback.Datatype:
boolDefault:
false - vis_type_table.legacyVisEnabled
-
Supported on:
Starting from version 7.11, a new datatable visualization is used. Set to
trueto enable the legacy version. In version 8.0 and later, the old implementation is removed and this setting is no longer supported.Datatype:
bool - vis_type_vega.enable
-
Supported on:
For 7.7 version and later, set to
falseto disable Vega vizualizations.Datatype:
boolDefault:
true - vega.enableExternalUrls
-
Supported on:
Set to
trueto allow Vega vizualizations to use data from sources other than the linked Elasticsearch cluster. In version 8.0 and later, thevega.enableExternalUrlsis not supported. Usevis_type_vega.enableExternalUrlsinstead.Datatype:
boolDeprecation detailsIn version 8.0 and later, this setting is not supported. Use
vis_type_vega.enableExternalUrlsinstead. - vis_type_vega.enableExternalUrls
-
Supported on:
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 Elasticsearch.
Datatype:
boolDefault:
false
Feature and plugin settings
- xpack.ccr.ui.enabled
-
Supported on:
Set this value to false to disable the Cross-Cluster Replication UI.
Datatype:
boolDefault:
true - xpack.discoverEnhanced.actions.exploreDataInContextMenu.enabled
-
Supported on:
Enables the Explore underlying data option that allows you to open Discover from a dashboard panel and view the panel data.
When you create visualizations using the Lens drag-and-drop editor, you can use the toolbar to open and explore your data in Discover. For more information, check out Explore the data in Discover.
Datatype:
boolDefault:
false - xpack.discoverEnhanced.actions.exploreDataInChart.enabled
-
Supported on:
Enables you to view the underlying documents in a data series from a dashboard panel.
Datatype:
boolDefault:
false - xpack.ilm.ui.enabled
-
Supported on:
Set this value to false to disable the Index Lifecycle Policies UI.
Datatype:
boolDefault:
true - xpack.index_management.ui.enabled
-
Supported on:
Set this value to false to disable the Index Management UI.
Datatype:
boolDefault:
true - xpack.license_management.ui.enabled
-
Supported on:
Set this value to false to disable the License Management UI.
Datatype:
boolDefault:
true - xpack.remote_clusters.ui.enabled
-
Supported on:
Set this value to false to disable the Remote Clusters UI.
Datatype:
boolDefault:
true - xpack.rollup.ui.enabled
-
Supported on:
Set this value to false to disable the Rollup Jobs UI.
Datatype:
boolDefault:
trueDeprecation detailsRollups are deprecated and will be removed in a future version. Use downsampling instead.
- xpack.securitySolution.maxUploadResponseActionFileBytes
-
Supported on:
Allow to configure the max file upload size for use with the Upload File Response action available with the Defend Integration. To learn more, check Endpoint Response actions. It is available in Elastic Cloud 8.9.0 and later versions.
Datatype:
string - xpack.securitySolution.disableEndpointRuleAutoInstall
-
Supported on:
Set to
trueto disable the automatic installation of Elastic Defend SIEM rules when a new Endpoint integration policy is created. Introduced with v9.2.4.Datatype:
boolDefault:
false - xpack.securitySolution.maxEndpointScriptFileSize
-
Supported on:
The maximum file size in bytes for scripts uploaded to the Elastic Defend script library. Default is
26214400(25MB).Datatype:
boolDefault:
26214400 - xpack.snapshot_restore.ui.enabled
-
Supported on:
Set this value to false to disable the Snapshot and Restore UI.
Datatype:
boolDefault:
true - xpack.upgrade_assistant.ui.enabled
-
Supported on:
Set this value to false to disable the Upgrade Assistant UI.
Datatype:
boolDefault:
true