How to have Kibana convert KQL to request (cURL command)?

I am using Kibana 7.2

I want to have Kibana convert KQL that I use in Discover tab app/kibana#/discover into format like in in dev tool (app/kibana#/dev_tools/console)

So far, I can't see the button or anything to output the request from KQL

I am aware of this question on stackoverflow https://stackoverflow.com/questions/32052507/representing-a-kibana-query-in-a-rest-curl-form/53408911#53408911

But I can't find where is it.

Hello,

You can open inspector in discover and look at the request & copy it and modify it for using from curl:

Or look at network tab when you are doing a search.

Thanks,
Bhavya

1 Like

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