elastic / kibana

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

Index setting removal using Index Management doesn't detect setting deletion #47454

Open piotrp opened 4 years ago

piotrp commented 4 years ago

Kibana version: 7.4.0

Elasticsearch version: 7.4.0

Server OS version: Uubntu 16.04

Browser version: Firefox 69.0.2

Browser OS version: Windows 10

Original install method (e.g. download page, yum, from source, etc.): deb package

Describe the bug: When I remove index setting (JSON line) and click "Save" Kibana shows "Successfully updated settings for index ..." but no actual update request was sent to the server, so setting wasn't actually removed. If I change value to null then Kibana properly sends request to /api/index_management/settings/my-index-name.

Steps to reproduce:

  1. Go to Management app > Index Management > Indices
  2. Click on index
  3. Go to Edit settings tab
  4. Change "index.priority": "1", to "index.priority": "2",
  5. Click Save, return to Edit settings tab
  6. Remove line with "index.priority": "2",`
  7. Click Save, return to Edit settings tab
  8. Setting is still there with its old value
  9. Bonus bug: click on another index name, settings form disappears.

Expected behavior: Kibana recognizes change and issues request to sever that changes removed setting (sets it to null).

elasticmachine commented 4 years ago

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

elasticmachine commented 4 years ago

Pinging @elastic/kibana-app (Team:KibanaApp)

elasticmachine commented 3 days ago

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