# Is it possible to store some of the records in a variable in kibana?

**URL:** <https://discuss.elastic.co/t/is-it-possible-to-store-some-of-the-records-in-a-variable-in-kibana/232107>\
**Category:** Kibana\
**Created:** [May 11, 2020, 8:00pm UTC](https://discuss.elastic.co/t/is-it-possible-to-store-some-of-the-records-in-a-variable-in-kibana/232107 "2020-05-11T20:00:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jaishree\_Pal](https://avatars.discourse-cdn.com/v4/letter/j/f475e1/32.png) [@Jaishree\_Pal](https://discuss.elastic.co/u/Jaishree_Pal)\
**Post date:** [May 11, 2020, 8:00pm UTC](https://discuss.elastic.co/t/is-it-possible-to-store-some-of-the-records-in-a-variable-in-kibana/232107/1 "2020-05-11T20:00:57Z")

</div>

Hi guys, I want to compare results of some of the records I have in my index. So, is it possible to group some records in different variables that I can use for creating visualizations later?  
I want to provide these variables as a list to users so that they can select which group of records they want to select.

---

<div class="post-metadata">

**Author:** ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)\
**Post date:** [May 11, 2020, 10:24pm UTC](https://discuss.elastic.co/t/is-it-possible-to-store-some-of-the-records-in-a-variable-in-kibana/232107/2 "2020-05-11T22:24:29Z")

</div>

Hello,

You can use input controls - [https://www.elastic.co/blog/interactive-inputs-on-kibana-dashboards](https://www.elastic.co/blog/interactive-inputs-on-kibana-dashboards)  
to let the user select the results (hence the resulting dashboard display).

Does that help?

Thanks,  
Bhavya

---

<div class="post-metadata">

**Author:** ![Jaishree\_Pal](https://avatars.discourse-cdn.com/v4/letter/j/f475e1/32.png) [@Jaishree\_Pal](https://discuss.elastic.co/u/Jaishree_Pal)\
**Post date:** [May 12, 2020, 11:47am UTC](https://discuss.elastic.co/t/is-it-possible-to-store-some-of-the-records-in-a-variable-in-kibana/232107/3 "2020-05-12T11:47:31Z")

</div>

Thanks @bhavyarm for the reference, but this won't help in my case as I don't wanna show them the record values directly. I want to form groups of some records manually and then give them the list of those groups which I formed. Is this possible?

---

<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:** [June 9, 2020, 11:47am UTC](https://discuss.elastic.co/t/is-it-possible-to-store-some-of-the-records-in-a-variable-in-kibana/232107/4 "2020-06-09T11:47:31Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
