# UX - Kibana Graph plugin - should have option to retain field selection when switching indices

**URL:** <https://discuss.elastic.co/t/ux-kibana-graph-plugin-should-have-option-to-retain-field-selection-when-switching-indices/49910>\
**Category:** Kibana\
**Tags:** elastic-stack-graph\
**Created:** [May 12, 2016, 2:56pm UTC](https://discuss.elastic.co/t/ux-kibana-graph-plugin-should-have-option-to-retain-field-selection-when-switching-indices/49910 "2016-05-12T14:56:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rmoff](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rmoff/32/20212_2.png) [@rmoff](https://discuss.elastic.co/u/rmoff)\
**Post date:** [May 12, 2016, 2:56pm UTC](https://discuss.elastic.co/t/ux-kibana-graph-plugin-should-have-option-to-retain-field-selection-when-switching-indices/49910/1 "2016-05-12T14:56:50Z")

</div>

If an index is simply partitioned on date the user will often want to run the same set of fields against a different instance of the same set of data. At the moment switching index resets all the field selections. This isn't so helpful 🙂 Would be good if there was a way to offer to preserve the field selection.

---

<div class="post-metadata">

**Author:** ![Mark\_Harwood](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mark_harwood/32/10538_2.png) [@Mark\_Harwood](https://discuss.elastic.co/u/Mark_Harwood)\
**Post date:** [May 12, 2016, 4:36pm UTC](https://discuss.elastic.co/t/ux-kibana-graph-plugin-should-have-option-to-retain-field-selection-when-switching-indices/49910/2 "2016-05-12T16:36:40Z")

</div>

Would this requirement go away if you were able to run graph UI against a pre-defined Kibana index-pattern rather than as is done now with a concrete index name?  
Kibana index patterns provides for wildcarded index names and a defined set of fields that are expected to be constant across these indices.

---

<div class="post-metadata">

**Author:** ![rmoff](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rmoff/32/20212_2.png) [@rmoff](https://discuss.elastic.co/u/rmoff)\
**Post date:** [May 12, 2016, 7:20pm UTC](https://discuss.elastic.co/t/ux-kibana-graph-plugin-should-have-option-to-retain-field-selection-when-switching-indices/49910/3 "2016-05-12T19:20:59Z")

</div>

Yes pretty much, it should.

---

<div class="post-metadata">

**Author:** ![Mark\_Harwood](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mark_harwood/32/10538_2.png) [@Mark\_Harwood](https://discuss.elastic.co/u/Mark_Harwood)\
**Post date:** [June 1, 2016, 10:37am UTC](https://discuss.elastic.co/t/ux-kibana-graph-plugin-should-have-option-to-retain-field-selection-when-switching-indices/49910/4 "2016-06-01T10:37:08Z")

</div>

Update - the 5.0 alpha 3 release of the elastic stack now includes a graph UI which uses Kibana index patterns for the choice of datasource instead of a single physical index. This means that multiple indices or aliases can now be used.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:43pm UTC](https://discuss.elastic.co/t/ux-kibana-graph-plugin-should-have-option-to-retain-field-selection-when-switching-indices/49910/5 "2017-07-06T13:43:15Z")

</div>


