# Elasticsearch

## Connection Requirements

{% stepper %}
{% step %}

### Host

Elasticsearch host address to communicate with.
{% endstep %}

{% step %}

### Index

Index that will be fetched.
{% endstep %}

{% step %}

### Username & Password

Username and password of the Elasticsearch user. (optional)
{% endstep %}

{% step %}

### Proxy URL

Proxy url. (optional)
{% endstep %}

{% step %}

### Proxy Username & Password

Username and password information for related url. (optional)
{% endstep %}

{% step %}

### Verify SSL Certificate

Verify ssl certificate during requests. (default: False)
{% endstep %}

{% step %}

### Timeout

Time amount to be waited for each request in seconds. (default: 60)
{% endstep %}

{% step %}

### Max Retries

Maximum retry count when host couldn't be able to give a response. (default: 10, min: 1, max: 15)
{% endstep %}

{% step %}

### Retry On Timeout

Retry request again if host couldn't be able to give a response. (default: True)
{% endstep %}

{% step %}

### SSL

Use SSL for connection (optional, default: Encrypted).
{% endstep %}
{% endstepper %}

{% hint style="warning" %}
⚠️ Attention

Please perform a **connection test** to ensure there is a valid connection to the host.\
When the discovery operation is finalized, you will be able to see the details on the **Assets** page.
{% endhint %}


---

# 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.octoxlabs.com/adapters/adapters/elasticsearch.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.
