mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Allow for elasticsearch.requestHeaders to be set to null
This commit is contained in:
parent
81631ffc2e
commit
f9f4b79626
4 changed files with 6 additions and 3 deletions
|
@ -61,7 +61,9 @@
|
|||
# must be a positive integer.
|
||||
# elasticsearch.requestTimeout: 30000
|
||||
|
||||
# List of Kibana client-side headers to send to Elasticsearch
|
||||
# List of Kibana client-side headers to send to Elasticsearch. To send *no* client-side
|
||||
# headers, set this value to null, not []. Setting it to [] will send the default list
|
||||
# of headers.
|
||||
# elasticsearch.requestHeaders: [ authorization ]
|
||||
|
||||
# Time in milliseconds for Elasticsearch to wait for responses from shards. Set to 0 to disable.
|
||||
|
|
|
@ -30,6 +30,7 @@ wait for Elasticsearch to respond to pings.
|
|||
`elasticsearch.requestTimeout:`:: *Default: 300000* Time in milliseconds to wait for responses from the back end or
|
||||
Elasticsearch. This value must be a positive integer.
|
||||
`elasticsearch.requestHeaders:`:: *Default: `[ 'authorization' ]`* List of Kibana client-side headers to send to Elasticsearch.
|
||||
To send *no* client-side headers, set this value to null, not []. Setting it to [] will send the default list of headers.
|
||||
`elasticsearch.shardTimeout:`:: *Default: 0* Time in milliseconds for Elasticsearch to wait for responses from shards. Set
|
||||
to 0 to disable.
|
||||
`elasticsearch.startupTimeout:`:: *Default: 5000* Time in milliseconds to wait for Elasticsearch at Kibana startup before
|
||||
|
|
|
@ -376,7 +376,7 @@ deprecated[4.2, The names of several Kibana server properties changed in the 4.2
|
|||
+
|
||||
*default*: `500000`
|
||||
|
||||
`elasticsearch.requestHeaders:` added[5.0]:: List of Kibana client-side headers to send to Elasticsearch.
|
||||
`elasticsearch.requestHeaders:` added[5.0]:: List of Kibana client-side headers to send to Elasticsearch. To send *no* client-side headers, set this value to null, not []. Setting it to [] will send the default list of headers.
|
||||
+
|
||||
*default*: `[ 'authorization' ]`
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ module.exports = function ({ Plugin }) {
|
|||
password: string(),
|
||||
shardTimeout: number().default(0),
|
||||
requestTimeout: number().default(30000),
|
||||
requestHeaders: array().items(string()).single().default(DEFAULT_REQUEST_HEADERS),
|
||||
requestHeaders: array().items().single().default(DEFAULT_REQUEST_HEADERS),
|
||||
pingTimeout: number().default(ref('requestTimeout')),
|
||||
startupTimeout: number().default(5000),
|
||||
ssl: object({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue