elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.76k stars 8.17k forks source link

Help users control index lifecycle policy shard allocation during hot phase with index templates #53621

Open cjcenizal opened 4 years ago

cjcenizal commented 4 years ago

Users can configure an index template to ensure newly created indices are always allocated on hot nodes (example below). See https://github.com/elastic/elasticsearch/issues/46302 for more context. We can ease the UX in both ILM and in a to-be-scoped settings editor (similar to our mappings editor).

PUT _template/ilm-default
{
  "settings":
  {
    "index.routing.allocation.require.tag":"hot"
  }
}

ILM

In the Index Lifecycle Policy form, we can surface a hint in the UI that suggests users use index templates if they want to control shard allocation during the hot phase.

Settings editor

Once we begin work on the settings editor we should also consider surfacing a hint about how setting "index.routing.allocation.require.tag": "hot" can be used to control shard allocation during an index lifecycle policy's hot phase.

Note: This might be tricky because this hint will only apply when the settings editor is used within the Index Template wizard. It wouldn't make sense in the context of, say, creating or cloning an index.

elasticmachine commented 4 years ago

Pinging @elastic/es-ui (Team:Elasticsearch UI)

cjcenizal commented 4 years ago

Related to https://github.com/elastic/kibana/issues/59462.

elasticmachine commented 2 weeks ago

Pinging @elastic/kibana-management (Team:Kibana Management)