restclient.el is an emacs plugin that transforms a buffer into a
repl-like curl-backed experience (similar to kibana). It has support
for variables set with arbitrary elisp, turning it into a viable
postman replacement (with plain text! and versioning!). I find this to
be a very nice way to store and execute elasticsearch queries, but
unfortunately you lose autocomplete of ES specific items.
Alternatively, es-mode exists, which is more ES specific but much
Here is a starter point showing some of restclients capabilities and how one might use it with elasticsearch: