Set security index refresh interval to 1s (#45888)
The security indices were being created without specifying the refresh interval, which means it would inherit a value from any templates that exists. However, certain security functionality depends on being able to wait_for refresh, and causes errors (e.g. in Kibana) if that time exceeds 30s. This commit changes the security indices configuration to always be created with a 1s refresh interval. This prevents any templates from inadvertantly interfering with the proper functioning of security. It is possible for an administrator to explicitly change the refresh interval after the indices have been created. Backport of: #45434
This commit is contained in:
parent
243f054b0b
commit
f94e4a9151
|
@ -6,6 +6,7 @@
|
|||
"number_of_replicas" : 0,
|
||||
"auto_expand_replicas" : "0-1",
|
||||
"index.priority": 1000,
|
||||
"index.refresh_interval": "1s",
|
||||
"index.format": 6,
|
||||
"analysis" : {
|
||||
"filter" : {
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
"number_of_replicas" : 0,
|
||||
"auto_expand_replicas" : "0-1",
|
||||
"index.priority": 1000,
|
||||
"index.refresh_interval": "1s",
|
||||
"index.format": 7
|
||||
},
|
||||
"mappings" : {
|
||||
|
|
Loading…
Reference in New Issue