# Elasticsearch Command

The Elasticsearch Command step allows you to execute commands and manage your Elasticsearch data source data.

You simply need to select the type of command from the dropdown and configure its settings appropriately.

<figure><img src="/files/vTgI20rewwQkeelqm4sK" alt=""><figcaption></figcaption></figure>

For more details about building search queries, refer to [Elasticsearch documentation](https://www.elastic.co/docs/solutions/search/querying-for-search).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.uibakery.io/reference/working-with-actions/elasticsearch-command.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
