Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reindex UI #8110

Closed
markwalkom opened this issue Aug 29, 2016 · 6 comments
Closed

Reindex UI #8110

markwalkom opened this issue Aug 29, 2016 · 6 comments
Labels
release_note:enhancement Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more

Comments

@markwalkom
Copy link
Contributor

Now that we have this, I am thinking a UI that allows users to specify things like the below would be an awesome way to improve the UX.

It'd contain a page with things like;

  1. Host (default to localhost) - mandatory
  2. Source + destination index names - mandatory
    1. Optional settings like size etc
  3. A script editor - optional
  4. Any of the other settings - optional

And then (ideally), a section on the same page that shows the status of any existing reindex jobs, along with a cancel button.

@chakrayadavalli
Copy link

+1

@kobelb
Copy link
Contributor

kobelb commented Aug 7, 2018

/cc @elastic/kibana-management

@timroes timroes added es-management Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more and removed :Management DO NOT USE labels Nov 27, 2018
@cjcenizal
Copy link
Contributor

cjcenizal commented Aug 5, 2019

We're planning on implementing a Reindex Wizard in Index Management which will address these needs. Users can click a "Reindex data" button, or select indices in Index Management and choose a "Reindex data from indices" option, or select a single index and choose "Reindex data into index". Here's a mockup of what we have in mind:

image

image

@cjcenizal
Copy link
Contributor

Note that the list of running reindex tasks is a subset of the Tasks UI functionality (#42621). We should share this code as much as possible, e.g. exported components, services, hooks, de/serializers.

@cjcenizal
Copy link
Contributor

cjcenizal commented Aug 5, 2019

A core use case for reindexing is to fix mappings with the original data. This workflow consists of two parts:

  1. Create a new index with the desired mappings
  2. Reindex data into the new index

If I were using this wizard, I'd like to answer a few questions and perform a few actions:

  1. What will the resulting mappings be in my destination index? This would be an aggregation of the existing mappings in that index plus any mappings in the source indices which aren't defined by the destination index.
  2. How can I choose the right destination index? As I select a destination index, I would want to see how many documents it contains, number of fields, date created, and any other metadata that will inform my choice. I'd also like to be able to easily choose a destination index and preview its mappings. If I've picked the wrong index I want to be able to easily choose another one.
  3. If I select a bunch of source indices and then realize my destination index doesn't have the mappings I want, what's the easiest way for me to create that index without losing my work? Can we link out to a "Create index" form an link back to this wizard without losing state?
  4. Can the wizard create a destination index automatically for me?
  5. Can I queue up multiple reindexing tasks at once?
  6. Can I throttle the reindexing rate?
  7. Can I switch the source index's alias to the destination index once the reindex is complete, to ensure zero downtime?

@cjcenizal
Copy link
Contributor

Closing in favor of #46755

cee-chen added a commit that referenced this issue Nov 4, 2024
`v97.0.0-backport.1`⏩`v97.0.0-backport.2`

This is an 8.16 release intended to help fix
#197892 flagged by the ML team.

---

##
[`v97.0.0-backport.2`](https://github.com/elastic/eui/releases/v97.0.0-backport.2)

**This is a backport release only intended for use by Kibana.**

**Bug fixes**

- Fixed an `EuiSuperDatePicker` bug where inputs would overflow out of
smaller widths instead of truncating
([#8109](elastic/eui#8109))
- Fixed a bug with `EuiPageHeader`'s `rightSideItems` responsiveness
where single items could overflow past the intended max width
([#8110](elastic/eui#8110))
jbudz pushed a commit that referenced this issue Nov 12, 2024
`v97.3.0`⏩`v97.3.1`

_[Questions? Please see our Kibana upgrade
FAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams)_

---

## [`v97.3.1`](https://github.com/elastic/eui/releases/v97.3.1)

**Bug fixes**

- Fixed an `EuiComboBox` bug where Enter keypresses were not working
correctly on selection clear buttons
([#8105](elastic/eui#8105))
- Fixed an `EuiSuperDatePicker` bug where inputs would overflow out of
smaller widths instead of truncating
([#8109](elastic/eui#8109))
- Fixed a bug with `EuiPageHeader`'s `rightSideItems` responsiveness
where single items could overflow past the intended max width
([#8110](elastic/eui#8110))
tkajtoch pushed a commit to tkajtoch/kibana that referenced this issue Nov 12, 2024
`v97.3.0`⏩`v97.3.1`

_[Questions? Please see our Kibana upgrade
FAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams)_

---

## [`v97.3.1`](https://github.com/elastic/eui/releases/v97.3.1)

**Bug fixes**

- Fixed an `EuiComboBox` bug where Enter keypresses were not working
correctly on selection clear buttons
([elastic#8105](elastic/eui#8105))
- Fixed an `EuiSuperDatePicker` bug where inputs would overflow out of
smaller widths instead of truncating
([elastic#8109](elastic/eui#8109))
- Fixed a bug with `EuiPageHeader`'s `rightSideItems` responsiveness
where single items could overflow past the intended max width
([elastic#8110](elastic/eui#8110))
cee-chen added a commit to cee-chen/kibana that referenced this issue Nov 13, 2024
`v97.3.0`⏩`v97.3.1`

_[Questions? Please see our Kibana upgrade
FAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams)_

---

## [`v97.3.1`](https://github.com/elastic/eui/releases/v97.3.1)

**Bug fixes**

- Fixed an `EuiComboBox` bug where Enter keypresses were not working
correctly on selection clear buttons
([elastic#8105](elastic/eui#8105))
- Fixed an `EuiSuperDatePicker` bug where inputs would overflow out of
smaller widths instead of truncating
([elastic#8109](elastic/eui#8109))
- Fixed a bug with `EuiPageHeader`'s `rightSideItems` responsiveness
where single items could overflow past the intended max width
([elastic#8110](elastic/eui#8110))

(cherry picked from commit 4e65ae9)

# Conflicts:
#	packages/kbn-securitysolution-exception-list-components/src/list_header/__snapshots__/list_header.test.tsx.snap
cee-chen added a commit that referenced this issue Nov 13, 2024
# Backport

This will backport the following commits from `main` to `8.x`:
- [Upgrade EUI to v97.3.1
(#199186)](#199186)

<!--- Backport version: 8.9.8 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Cee
Chen","email":"549407+cee-chen@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-11-12T01:02:34Z","message":"Upgrade
EUI to v97.3.1 (#199186)\n\n`v97.3.0`⏩`v97.3.1`\r\n\r\n_[Questions?
Please see our Kibana
upgrade\r\nFAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams)_\r\n\r\n---\r\n\r\n##
[`v97.3.1`](https://github.com/elastic/eui/releases/v97.3.1)\r\n\r\n**Bug
fixes**\r\n\r\n- Fixed an `EuiComboBox` bug where Enter keypresses were
not working\r\ncorrectly on selection clear
buttons\r\n([#8105](https://github.com/elastic/eui/pull/8105))\r\n-
Fixed an `EuiSuperDatePicker` bug where inputs would overflow out
of\r\nsmaller widths instead of
truncating\r\n([#8109](https://github.com/elastic/eui/pull/8109))\r\n-
Fixed a bug with `EuiPageHeader`'s `rightSideItems`
responsiveness\r\nwhere single items could overflow past the intended
max
width\r\n([#8110](https://github.com/elastic/eui/pull/8110))","sha":"4e65ae9b1e69fc92341de99078bde179708b3394","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","EUI","v9.0.0","backport:version","v8.17.0"],"number":199186,"url":"https://github.com/elastic/kibana/pull/199186","mergeCommit":{"message":"Upgrade
EUI to v97.3.1 (#199186)\n\n`v97.3.0`⏩`v97.3.1`\r\n\r\n_[Questions?
Please see our Kibana
upgrade\r\nFAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams)_\r\n\r\n---\r\n\r\n##
[`v97.3.1`](https://github.com/elastic/eui/releases/v97.3.1)\r\n\r\n**Bug
fixes**\r\n\r\n- Fixed an `EuiComboBox` bug where Enter keypresses were
not working\r\ncorrectly on selection clear
buttons\r\n([#8105](https://github.com/elastic/eui/pull/8105))\r\n-
Fixed an `EuiSuperDatePicker` bug where inputs would overflow out
of\r\nsmaller widths instead of
truncating\r\n([#8109](https://github.com/elastic/eui/pull/8109))\r\n-
Fixed a bug with `EuiPageHeader`'s `rightSideItems`
responsiveness\r\nwhere single items could overflow past the intended
max
width\r\n([#8110](https://github.com/elastic/eui/pull/8110))","sha":"4e65ae9b1e69fc92341de99078bde179708b3394"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/199186","number":199186,"mergeCommit":{"message":"Upgrade
EUI to v97.3.1 (#199186)\n\n`v97.3.0`⏩`v97.3.1`\r\n\r\n_[Questions?
Please see our Kibana
upgrade\r\nFAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams)_\r\n\r\n---\r\n\r\n##
[`v97.3.1`](https://github.com/elastic/eui/releases/v97.3.1)\r\n\r\n**Bug
fixes**\r\n\r\n- Fixed an `EuiComboBox` bug where Enter keypresses were
not working\r\ncorrectly on selection clear
buttons\r\n([#8105](https://github.com/elastic/eui/pull/8105))\r\n-
Fixed an `EuiSuperDatePicker` bug where inputs would overflow out
of\r\nsmaller widths instead of
truncating\r\n([#8109](https://github.com/elastic/eui/pull/8109))\r\n-
Fixed a bug with `EuiPageHeader`'s `rightSideItems`
responsiveness\r\nwhere single items could overflow past the intended
max
width\r\n([#8110](https://github.com/elastic/eui/pull/8110))","sha":"4e65ae9b1e69fc92341de99078bde179708b3394"}},{"branch":"8.x","label":"v8.17.0","labelRegex":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this issue Nov 18, 2024
`v97.3.0`⏩`v97.3.1`

_[Questions? Please see our Kibana upgrade
FAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams)_

---

## [`v97.3.1`](https://github.com/elastic/eui/releases/v97.3.1)

**Bug fixes**

- Fixed an `EuiComboBox` bug where Enter keypresses were not working
correctly on selection clear buttons
([elastic#8105](elastic/eui#8105))
- Fixed an `EuiSuperDatePicker` bug where inputs would overflow out of
smaller widths instead of truncating
([elastic#8109](elastic/eui#8109))
- Fixed a bug with `EuiPageHeader`'s `rightSideItems` responsiveness
where single items could overflow past the intended max width
([elastic#8110](elastic/eui#8110))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:enhancement Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more
Projects
None yet
Development

No branches or pull requests

6 participants