Text box and button to filter by index

HI,
As part of my requirement, i am thinking to place a text box and button on the dashboad to filter data by index name. Index name is same as RunID and I would like show dashboard data only for the entered Index name. Any possibility ?

You can search for an index in the searchbox at the top of discover, for example : index:logstash-*`. Another option is to create a data table visualization listing your index names, and clicking on one will create a filter.

You can also create your own visualization plugin if you need more customization, https://github.com/elastic/kibana/wiki/Plugin-Resources is a good resource to get started