# Send data to Elasticsearch

## Overview <a href="#overview" id="overview"></a>

You can send logs to [Elasticsearch](https://www.elastic.co/) via HTTP using our [HTTP Data sink](https://docs.onum.com/the-workspace/data-sinks/data-sink-integrations/send-data-using-http).

## Data sink configuration <a href="#data-sink-configuration" id="data-sink-configuration"></a>

To start sending data to Elasticsearch, follow these steps:

{% stepper %}
{% step %}
Create a new [HTTP Data sink](https://docs.onum.com/the-workspace/data-sinks/data-sink-integrations/send-data-using-http). To do it, go to **Data sinks > New Data sink** and double-click **HTTP**.
{% endstep %}

{% step %}
Give your Data sink a **Name** and, optionally, add a **Description** and some **Tags**. Click **Finish** when you're done.
{% endstep %}

{% step %}
Now, drag your Data sink to the required [Pipeline](https://docs.onum.com/the-workspace/pipelines) canvas. Link it to the required [Listener](https://docs.onum.com/the-workspace/listeners)/[Action](https://docs.onum.com/the-workspace/pipelines/actions) and double-click it to configure it.
{% endstep %}

{% step %}
Fill the following parameters as follows:

<table><thead><tr><th width="170.20703125">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><strong>HTTP method</strong><mark style="color:red;"><strong>*</strong></mark></td><td>Choose <code>POST</code>.</td></tr><tr><td><strong>URL</strong><mark style="color:red;"><strong>*</strong></mark></td><td>Enter <code>&#x3C;elastic_endpoint></code>.</td></tr><tr><td><strong>Message</strong></td><td>Choose the field containing the message you wish to send on.</td></tr><tr><td><strong>Content-Type</strong></td><td>Choose your required data type.</td></tr><tr><td><strong>Support special characters</strong></td><td>Set it to <strong>true</strong>.</td></tr><tr><td><strong>Use gzip</strong>, <strong>HTTP headers</strong></td><td>Set as required.</td></tr></tbody></table>
{% endstep %}

{% step %}
In the **Bulk configuration** section, fill in the parameters as follows:

<table><thead><tr><th width="170.20703125">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><strong>Bulk allow</strong><mark style="color:red;"><strong>*</strong></mark></td><td>Set it to <strong>true</strong>.</td></tr><tr><td><strong>Delimiter</strong><mark style="color:red;"><strong>*</strong></mark></td><td>Choose <strong>Manual delimiter</strong><mark style="color:red;"><strong>*</strong></mark> and leave it as new line (<code>\n</code>).</td></tr><tr><td><strong>Maximum number of buffers per server URL</strong><mark style="color:red;"><strong>*</strong></mark></td><td>Enter <code>50</code>.</td></tr><tr><td><strong>Event amount</strong><mark style="color:red;"><strong>*</strong></mark>, <strong>Event time limit</strong><mark style="color:red;"><strong>*</strong></mark></td><td>Set both to <code>1</code>.</td></tr></tbody></table>
{% endstep %}

{% step %}
Set the **Authentication type**<mark style="color:red;">**\***</mark> to **API key**. Enter your **API key name**<mark style="color:red;">**\***</mark> and choose the required **API key value**<mark style="color:red;">**\***</mark>. Create a [Secret](https://docs.onum.com/administration/tenant-menu) containing your API key or select one already created.
{% endstep %}

{% step %}
Fill in the rest of the parameters and required, and click **Save**.
{% endstep %}
{% endstepper %}

<figure><picture><source srcset="https://965373739-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkxZeV4nlXcIAjMGZxzLI%2Fuploads%2F4CuxtxmRXhouiiYl7YZ5%2F2025-08-27_13-58-41.png?alt=media&#x26;token=b4d7b391-04f8-4909-a2ba-9b7d982531c6" media="(prefers-color-scheme: dark)"><img src="https://965373739-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkxZeV4nlXcIAjMGZxzLI%2Fuploads%2FZtydOZobH1hvI2L3ZQI6%2F2025-08-27_13-44-16.png?alt=media&#x26;token=57d43995-8f25-4e3b-8435-4a824729cddf" alt=""></picture><figcaption></figcaption></figure>
