# Invoke a dashboard with the current query

**URL:** <https://discuss.elastic.co/t/invoke-a-dashboard-with-the-current-query/99440>\
**Category:** Kibana\
**Created:** [September 5, 2017, 1:56pm UTC](https://discuss.elastic.co/t/invoke-a-dashboard-with-the-current-query/99440 "2017-09-05T13:56:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![okvittem](https://avatars.discourse-cdn.com/v4/letter/o/e19adc/32.png) [@okvittem](https://discuss.elastic.co/u/okvittem)\
**Post date:** [September 5, 2017, 1:56pm UTC](https://discuss.elastic.co/t/invoke-a-dashboard-with-the-current-query/99440/1 "2017-09-05T13:56:30Z")

</div>

Hi, I am saving links to other dashboards in a Markdown visualization and I would like  
the linked dashboard to pick up the current query string.  
Is it possible to pass the current query string in the url to a dashboard ?

---

<div class="post-metadata">

**Author:** ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)\
**Post date:** [September 5, 2017, 3:43pm UTC](https://discuss.elastic.co/t/invoke-a-dashboard-with-the-current-query/99440/2 "2017-09-05T15:43:04Z")

</div>

The lucene query is included in the dashboard URL. You could hard code lucene query strings into the Markdown visualizations, but there is no way to have a link in a Markdown visualization that dynamically includes the current query. Can your query be expressed as pinned filters? Pinned filters will persist across dashboards.

---

<div class="post-metadata">

**Author:** ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)\
**Post date:** [September 5, 2017, 4:01pm UTC](https://discuss.elastic.co/t/invoke-a-dashboard-with-the-current-query/99440/3 "2017-09-05T16:01:30Z")

</div>

There is an open enhancement ticket for this functionality, [https://github.com/elastic/kibana/issues/7383](https://github.com/elastic/kibana/issues/7383)

---

<div class="post-metadata">

**Author:** ![okvittem](https://avatars.discourse-cdn.com/v4/letter/o/e19adc/32.png) [@okvittem](https://discuss.elastic.co/u/okvittem)\
**Post date:** [September 6, 2017, 7:34am UTC](https://discuss.elastic.co/t/invoke-a-dashboard-with-the-current-query/99440/4 "2017-09-06T07:34:06Z")

</div>

Thanks, this covers parts of my need - for simple selections, but I can not see how more complex logical expressions can be done here. I could solve specific needs by making programmable fields for categories.  
So a pinable Query field then and pinable inheritable index(see another post) also like time selection today is on my wishlist for a more genericly consistent user experience.  
Anyhow I love the power of what I already have 🙂

---

<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:** [October 4, 2017, 7:34am UTC](https://discuss.elastic.co/t/invoke-a-dashboard-with-the-current-query/99440/5 "2017-10-04T07:34:11Z")

</div>

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