The Console plugin provides a UI to interact with the REST API of Elasticsearch. Console has two main areas: the editor,
where you compose requests to Elasticsearch, and the response pane, which displays the responses to the request.

Figure 1. The Console UI

Console understands commands in a cURL-like syntax. For example the following Console command

GET /_search
{
"query": {
"match_all": {}
}
}

is a simple GET request to Elasticsearch’s _search API. Here is the equivalent command in cURL.

In fact, you can paste the above command into Console and it will automatically be converted into the Console syntax.

When typing a command, Console will make context sensitive suggestions. These suggestions can help
you explore parameters for each API, or to just speed up typing. Console will suggest APIs, indexes and field
names.

Figure 2. API suggestions

Once you have typed a command in to the left pane, you can submit it to Elasticsearch by clicking the little green
triangle that appears next to the URL line of the request. Notice that as you move the cursor around, the little
triangle and wrench icons follow you around. We call this the Action Menu. You can also select
multiple requests and submit them all at once.

Figure 3. The Action Menu

When the response come back, you should see it in the left hand panel: