How do I create a search section for the panel?

Hello,
I created a panel for Loki query like below:

Now I want to create a search button that can be used to search the information displayed in this panel. How do I do this?

Thank you.