I've just made a Kibana query using its web interface. The query has a WHERE-like part (source:*blah2.log
), and a SELECT-like part (showing only 3 fields of each match).
Naturally, Kibana fetches these items by making a REST request to ElasticSearch, which I would like to use programmatically.
How to I get the Kibana search query as in cURL / other HTTP format?
PS - I actually asked this two years ago (Representing a Kibana query in a REST, curl form), but the interface has changed and the new Kibana lacks the good old caret that opened the menu featuring that option.