Is there a converter from a search in kibana to query language?

I would like to know if there is any program or some type of converter from a search to a query language in kibana

Hello Dovan,

Generally the conversion works in the opposite direction, where you enter a KQL query and it's translated into an Elasticsearch request. You can see the results of this by performing various operations in Discover and viewing inspector. See this thread for reference.

If you truly are trying to work backwards from a request to a query, my advice would be to piece together the query in the Discover query bar and use Inspector to compare the request to what you're trying to achieve. KQL is pretty intuitive and the autocomplete feature helps a lot, so it might be easier than you'd think!