# Make search bar persistent

**URL:** <https://discuss.elastic.co/t/make-search-bar-persistent/121065>\
**Category:** Kibana\
**Created:** [February 22, 2018, 2:35pm UTC](https://discuss.elastic.co/t/make-search-bar-persistent/121065 "2018-02-22T14:35:37Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![nesretep](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nesretep/32/24743_2.png) [@nesretep](https://discuss.elastic.co/u/nesretep)\
**Post date:** [February 22, 2018, 2:35pm UTC](https://discuss.elastic.co/t/make-search-bar-persistent/121065/1 "2018-02-22T14:35:38Z")

</div>

Hi there

Here is another post concerning the need for a persistent search bar like the pinned filters when jumping from one dashboad to another dashboard.

Am I really the only one in the world thinking that this would be great?

ATB  
Lars

---

<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:** [February 22, 2018, 5:51pm UTC](https://discuss.elastic.co/t/make-search-bar-persistent/121065/2 "2018-02-22T17:51:59Z")

</div>

I think many users have dashboards that use data from different indices and in that case keeping the query in the search bar from one dashboard to another wouldn't make sense. But if you create filters you can pin those and they'll stay from one dashboard to another.

Maybe we should have a button in the UI to pin the search in the query bar?

---

<div class="post-metadata">

**Author:** ![nesretep](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nesretep/32/24743_2.png) [@nesretep](https://discuss.elastic.co/u/nesretep)\
**Post date:** [February 22, 2018, 9:18pm UTC](https://discuss.elastic.co/t/make-search-bar-persistent/121065/3 "2018-02-22T21:18:54Z")

</div>

Thanks for quick response!  
Well, the most logic implementation, in my perspective, would be a global setting like the setting for pinning filters by default. In the analytics world many dashboards use the same index (aka business cube), so when navigating between dashboards it is logical to keep focus through pinned filters and a pinned search string.

---

<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:** [February 22, 2018, 10:05pm UTC](https://discuss.elastic.co/t/make-search-bar-persistent/121065/4 "2018-02-22T22:05:54Z")

</div>

You taught me something new. I didn't realize there was a setting to have filters pinned by default!

I agree that it would be good to be able to pin queries and also to have a global setting to have them pinned by default.

Would you like to create the enhancement issue? If not, I'll do it.

> **[elastic/kibana](https://github.com/elastic/kibana/issues)**
>
> kibana - :bar\_chart: Kibana analytics and search dashboard for Elasticsearch

Thanks,  
Lee

---

<div class="post-metadata">

**Author:** ![nesretep](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nesretep/32/24743_2.png) [@nesretep](https://discuss.elastic.co/u/nesretep)\
**Post date:** [February 22, 2018, 10:31pm UTC](https://discuss.elastic.co/t/make-search-bar-persistent/121065/5 "2018-02-22T22:31:52Z")

</div>

Indeed there is, and excactly this point makes me wonder how the pinned search bar managed to crawl under the radar all that time 😉  
I would be happy if you would post the enhancement issue, then I will be the first to give it a like!

---

<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:** [February 22, 2018, 11:39pm UTC](https://discuss.elastic.co/t/make-search-bar-persistent/121065/6 "2018-02-22T23:39:34Z")

</div>

> <https://github.com/elastic/kibana/issues/16881>

---

<div class="post-metadata">

**Author:** ![rcowart](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rcowart/32/88091_2.png) [@rcowart](https://discuss.elastic.co/u/rcowart)\
**Post date:** [February 23, 2018, 9:09am UTC](https://discuss.elastic.co/t/make-search-bar-persistent/121065/7 "2018-02-23T09:09:35Z")

</div>

I totally support this. Setting `filters:pinnedByDefault` to `true` is the first thing I do after installing Kibana. This allows multiple dashboards to be used together similar to a single-page app. Markdown can be used for the links between dashboards, and clever creation of the those links can even be used to clear the pinned filters when changing "apps" (i.e. collections of dashboards). Providing a similar mechanism for the query bar would make this even better.

---

<div class="post-metadata">

**Author:** ![nesretep](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nesretep/32/24743_2.png) [@nesretep](https://discuss.elastic.co/u/nesretep)\
**Post date:** [March 8, 2018, 2:22pm UTC](https://discuss.elastic.co/t/make-search-bar-persistent/121065/8 "2018-03-08T14:22:27Z")

</div>

For information, we built in persistency of the searchbar using outside editing of the url when shifting from one dashboard to another. It makes a huge difference to the user experience when operating with filters and searches combined.

---

<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:** [April 5, 2018, 2:22pm UTC](https://discuss.elastic.co/t/make-search-bar-persistent/121065/9 "2018-04-05T14:22:48Z")

</div>

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