# Visualization with mulitple save search queries

**URL:** <https://discuss.elastic.co/t/visualization-with-mulitple-save-search-queries/109843>\
**Category:** Kibana\
**Created:** [November 30, 2017, 9:53pm UTC](https://discuss.elastic.co/t/visualization-with-mulitple-save-search-queries/109843 "2017-11-30T21:53:38Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shwetank](https://avatars.discourse-cdn.com/v4/letter/s/c6cbf5/32.png) [@Shwetank](https://discuss.elastic.co/u/Shwetank)\
**Post date:** [November 30, 2017, 9:53pm UTC](https://discuss.elastic.co/t/visualization-with-mulitple-save-search-queries/109843/1 "2017-11-30T21:53:38Z")

</div>

Hi,

Is there a way to add multiple save search query in a visualization. v 5.4.3  
Currently it does only provide one.

In my use case, Filter A have one value, Filter B have 4 and Filter C has 38.  
With current limitation, I have create 38 \* 4 = 152 search queries.  
If multiple save searches are allowed only 38 + 4 + 1 would be required.

Since we cannot pass parameters for dashboard, at least it will same some re-work.

Thanks,  
Shwetank

---

<div class="post-metadata">

**Author:** ![LeeDr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leedr/32/9289_2.png) [@LeeDr](https://discuss.elastic.co/u/LeeDr)\
**Post date:** [December 1, 2017, 8:11pm UTC](https://discuss.elastic.co/t/visualization-with-mulitple-save-search-queries/109843/2 "2017-12-01T20:11:15Z")

</div>

Hi Shwetank,

No, there's no way to use multiple saved searches in any visualizations. The only solution I can think of is to create one more saved search "ABC" that has all the filters (1 + 4 + 38). Or maybe I'm not understanding your issue correctly. You need every combination of each filter? Maybe you elaborate more on the use case.

Regards,  
Lee

---

<div class="post-metadata">

**Author:** ![Shwetank](https://avatars.discourse-cdn.com/v4/letter/s/c6cbf5/32.png) [@Shwetank](https://discuss.elastic.co/u/Shwetank)\
**Post date:** [December 4, 2017, 5:01pm UTC](https://discuss.elastic.co/t/visualization-with-mulitple-save-search-queries/109843/3 "2017-12-04T17:01:34Z")

</div>

> [@LeeDr](#):
>
> You need every combination of e

Hi Lee, thanks for your response.  
Yes I need to have a combination for each filter.  
One from value from each filter.

Ideal way to do it should be a dashboard/visulization template were we can pass parameter values. Since that is not supported by Kibana, I have to make that many dahsboards.

Do you know any plans if it is in pipeline for future release.  
Is there an enhancement task available where I can +1 it.\

Thanks,  
Shwetank

---

<div class="post-metadata">

**Author:** ![LeeDr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leedr/32/9289_2.png) [@LeeDr](https://discuss.elastic.co/u/LeeDr)\
**Post date:** [December 5, 2017, 7:49pm UTC](https://discuss.elastic.co/t/visualization-with-mulitple-save-search-queries/109843/4 "2017-12-05T19:49:58Z")

</div>

You can go to `Management > Saved Objects` and export a Dashboard to a JSON file. Then you could make multiple copies and change all the appropriate fields/filters/name etc. And then you could import those back in. You would just have to be careful and try it initially on a non-production system.

---

<div class="post-metadata">

**Author:** ![Shwetank](https://avatars.discourse-cdn.com/v4/letter/s/c6cbf5/32.png) [@Shwetank](https://discuss.elastic.co/u/Shwetank)\
**Post date:** [December 13, 2017, 5:46pm UTC](https://discuss.elastic.co/t/visualization-with-mulitple-save-search-queries/109843/5 "2017-12-13T17:46:19Z")

</div>

Yes, that's what I have been doing. Created one script to do that as we need to take care of ID's and its references.

---

<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:** [January 10, 2018, 5:46pm UTC](https://discuss.elastic.co/t/visualization-with-mulitple-save-search-queries/109843/6 "2018-01-10T17:46:20Z")

</div>

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