> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Elasticsearch

> Elasticsearch is a distributed search and analytics engine used for log analytics, full-text search, security intelligence, business analytics, and operational intelligence use cases.

## Creating an Elasticsearch connection[​](#creating-an-elasticsearch-connection "Direct link to Creating an Elasticsearch connection")

To create the connection you need:

* An API key
* An API address

### Obtaining the credentials[​](#obtaining-the-credentials "Direct link to Obtaining the credentials")

#### Obtaining an API key[​](#obtaining-an-api-key "Direct link to Obtaining an API key")

1. Go to [Elastic](https://cloud.elastic.co/home).

2. Click **My deployment**.

   <img src="https://mintcdn.com/blinkops-2/CAgQojQeorlb2r8I/img/Elastic/Untitled.png?fit=max&auto=format&n=CAgQojQeorlb2r8I&q=85&s=2f788ab6f52f1c589a4edc7833fe9333" alt="Untitled" width="1052" height="180" data-path="img/Elastic/Untitled.png" />

3. Click **Manage this deployment**.

   <img src="https://mintcdn.com/blinkops-2/CAgQojQeorlb2r8I/img/Elastic/home.png?fit=max&auto=format&n=CAgQojQeorlb2r8I&q=85&s=bd2f2a536aab4bd7e5e81d7c431aaf28" alt="Untitled" width="3798" height="1802" data-path="img/Elastic/home.png" />

4. Click **Security**.

   <img src="https://mintcdn.com/blinkops-2/CAgQojQeorlb2r8I/img/Elastic/Untitled1.png?fit=max&auto=format&n=CAgQojQeorlb2r8I&q=85&s=820a3aafc3113cad2c4d002a9ba6112b" alt="Untitled" width="1654" height="611" data-path="img/Elastic/Untitled1.png" />

5. Click on **Make security changes in Kibana**.

   <img src="https://mintcdn.com/blinkops-2/CAgQojQeorlb2r8I/img/Elastic/Untitled2.png?fit=max&auto=format&n=CAgQojQeorlb2r8I&q=85&s=30c70c5334799386e31bd10008032847" alt="Untitled" width="1357" height="188" data-path="img/Elastic/Untitled2.png" />

6. Click **API keys**.

   <img src="https://mintcdn.com/blinkops-2/CAgQojQeorlb2r8I/img/Elastic/Untitled3.png?fit=max&auto=format&n=CAgQojQeorlb2r8I&q=85&s=0ce513737cee48c57c88c7999f1f1f19" alt="Untitled" width="1170" height="845" data-path="img/Elastic/Untitled3.png" />

7. Click **Create API key**.

   <img src="https://mintcdn.com/blinkops-2/CAgQojQeorlb2r8I/img/Elastic/Untitled4.png?fit=max&auto=format&n=CAgQojQeorlb2r8I&q=85&s=6e230c974d638500a3f04ff80159683e" alt="Untitled" width="2559" height="693" data-path="img/Elastic/Untitled4.png" />

8. Copy your **API key**.

   <img src="https://mintcdn.com/blinkops-2/CAgQojQeorlb2r8I/img/Elastic/Untitled5.png?fit=max&auto=format&n=CAgQojQeorlb2r8I&q=85&s=49e213e1b6bbc18a4d7f02ccfb308b1a" alt="Untitled" width="644" height="318" data-path="img/Elastic/Untitled5.png" />

#### Obtaining an API address[​](#obtaining-an-api-address "Direct link to Obtaining an API address")

1. Go to [Elastic](https://cloud.elastic.co/home).

2. Click **My deployment**.

   <img src="https://mintcdn.com/blinkops-2/CAgQojQeorlb2r8I/img/Elastic/Untitled6.png?fit=max&auto=format&n=CAgQojQeorlb2r8I&q=85&s=bd1facbd9e0d4fcaee93d5ce09565244" alt="Untitled" width="2083" height="884" data-path="img/Elastic/Untitled6.png" />

3. Click **Copy endpoint**.

   <img src="https://mintcdn.com/blinkops-2/CAgQojQeorlb2r8I/img/Elastic/Untitled7.png?fit=max&auto=format&n=CAgQojQeorlb2r8I&q=85&s=71a3e18ba4aef52c7bb231e01ff6fec8" alt="Untitled" width="1668" height="1107" data-path="img/Elastic/Untitled7.png" />

### Creating your connection[​](#creating-your-connection "Direct link to Creating your connection")

1. In the Blink platform, navigate to the **Connections** page > **Add connection**. A New Connection dialog box opens displaying icons of external service providers available.

2. Select the **Elasticsearch** icon. A dialog box with name of the connection and connection methods appear.

3. (Optional) Edit the name of the connection. At a later stage you cannot edit the name.

4. Select **API Key** as the method to create the connection.

5. Fill in the parameters:

   * The API key
   * The API address

6. (Optional) Click **Test Connection** to test it.

7. Click **Create connection**. The new connection appears on the **Connections** page.
