Visualization should contain search bar where any search criteria should be entered

Visualization should contain search bar where any search criteria should be entered in Kibana

It is not clear what you are asking? Please elaborate a bit more.

Hi I want to display a visualization page in Kibana where i should be able to enter any text and if it matches any of my messages available, it should display them.

You can try embedding a saved search in a dashboard.

I am new to Kibana. Can you explain how can i do it.
I tried Management-> Index Patterns-> Create new index pattern
What should i do after this step?