# Handling of search bar

**URL:** <https://discuss.elastic.co/t/handling-of-search-bar/316524>\
**Category:** Kibana\
**Tags:** kibana-plugin-development\
**Created:** [October 13, 2022, 10:56am UTC](https://discuss.elastic.co/t/handling-of-search-bar/316524 "2022-10-13T10:56:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![eshnajain](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eshnajain/32/111031_2.png) [@eshnajain](https://discuss.elastic.co/u/eshnajain)\
**Post date:** [October 13, 2022, 10:56am UTC](https://discuss.elastic.co/t/handling-of-search-bar/316524/1 "2022-10-13T10:56:43Z")

</div>

Hi, I have incorporated kibana search bar in my custom plugin. I am having difficult to call the handler function . I want to refetch data when time range is modified or refresh button is used . Currently it waits for next auto refresh cycle to take the changes into account

Thank you

---

<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:** [November 10, 2022, 10:57am UTC](https://discuss.elastic.co/t/handling-of-search-bar/316524/2 "2022-11-10T10:57:04Z")

</div>

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