# ELK Stack

## Overview

This section guides you through configuring and running the integration between the **ELK Stack** and **NCP**

#### By following these steps, you'll enable NCP to:

* Pull and index logs from Elasticsearch for real-time visibility.
* Allow users to query logs and telemetry data using NCP’s chat interface.
* Improve troubleshooting efficiency and accelerate root cause analysis.

#### Prerequisites

Before you begin, ensure the following:

* **Elasticsearch Endpoint:** URL of your Elasticsearch instance (e.g., `https://elk.example.com:9200`)
* **Index Information:** The names of the indices that contain relevant network logs (e.g., `network-logs-*`, `telemetry-*`)

### Configure ELK as a Data Source in NCP

To integrate your ELK Stack with NCP:

1. Log in to the **NCP GUI**
2. Navigate to **Settings → Data Connectors**, then click **Add Connector**<br>

   <figure><img src="https://3359941870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaUlAAbNeC7g6JdijsVYU%2Fuploads%2FBGO9cO3qOGXqFz2TE8FS%2FScreenshot%202026-02-10%20at%2010.49.06.png?alt=media&#x26;token=5c7610c8-5290-411d-a0a5-54e98c0a7dfe" alt=""><figcaption></figcaption></figure>
3. Select **ELK** from the list of available connectors\
   ![](https://content.gitbook.com/content/aUlAAbNeC7g6JdijsVYU/blobs/DN2EOHAXiBsdHcZ0Nt57/Screenshot%202025-07-21%20at%209.20.36%E2%80%AFPM.png)
4. Enter the following details:

   * **Connector Name** - Logical name for the AD integration
   * **Description** - Description for identification
   * **ES URL/IP** - Base URL of your Elasticsearch instance (e.g., `https://elk.example.com:9200`)
   * **ES Username** - LDAP bind user or service account
   * **ES Password** - Password for the bind account

   <div align="left"><figure><img src="https://3359941870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaUlAAbNeC7g6JdijsVYU%2Fuploads%2FnUrGpDUzcC0QxdCLI8c9%2FScreenshot%202026-02-10%20at%2010.52.27.png?alt=media&#x26;token=f141b574-dbc7-4441-b662-a0fcace9fa33" alt="" width="375"><figcaption></figcaption></figure></div>
5. Click **Save** to complete the configuration

   <div align="left"><figure><img src="https://3359941870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaUlAAbNeC7g6JdijsVYU%2Fuploads%2FPKTTUZq01e6m9ohzDliz%2FScreenshot%202026-02-10%20at%2010.55.00.png?alt=media&#x26;token=537314a6-7a42-4309-8d2b-2c64264a566b" alt=""><figcaption></figcaption></figure></div>
