Skip to main content
Connecting your Elasticsearch instance to NOFire AI enables powerful querying and analysis of application and infrastructure logs during investigation and an automated root cause analysis.
NOFire AI supports both Elastic Cloud and self-hosted Elasticsearch instances. For self-hosted instances, NOFire AI can connect securely using an AWS VPC PrivateLink to ensure all traffic remains within your network boundary.

Prerequisites

Before connecting Elasticsearch to NOFire AI, ensure you have:
  • An Elasticsearch cluster (Elastic Cloud or self-hosted)
  • Network access to your Elasticsearch endpoint from NOFire AI
  • Admin access to create users and API keys

Step 1: Configure Elasticsearch Authentication

Elastic Cloud

Create API Key in Elastic Cloud

  1. Sign in to Elastic Cloud
  2. Open your deployment: Click on the deployment you want to open NOFire AI Elastic Cloud Deployment Select Pn
  3. Copy the Elasticsearch Endpoint: On the deployment page, copy the Elasticsearch endpoint URL. You’ll need this later. NOFire AI Elastic Cloud Endpoint Pn
  4. Create API Key:
    • Go to Security > API keys
    • Click Create API key
    NOFire AI Elastic Api Keys Create Pn
  5. Configure API Key:
    • Name: Enter nofireai
    • Control security privileges: Select read to ensure the key has read-only access
    • Index privileges: Click read-only access
    • Click Create API key
    NOFire AI Elastic Api Key Configure Pn
  6. Save API Key:
    The API key value will only be displayed once and cannot be retrieved later. Make sure to copy and securely store it before closing this window.
    Copy the API key value (the encoded string, not the ID). NOFire AI Elastic Api Key Copy Pn

Self-Hosted Elasticsearch with API Key

  1. Access Kibana: Navigate to your Kibana URL (typically https://your-elasticsearch-host:5601)
  2. Log in: Use your Elasticsearch admin credentials
  3. Navigate to Stack Management: Open the hamburger menu (☰) and go to Management > Stack Management NOFire AI Elastic Stack Management
  4. Create API Key: Follow steps 6-8 from Option A above

Step 2: Add Elasticsearch Connection to NOFire AI

Navigate to the Connections Tab

Troubleshooting

Connection Timeout

If you experience connection timeouts:
  • Verify that your Elasticsearch endpoint is accessible from NOFire AI’s network
  • For Elastic Cloud, check your deployment’s traffic filters
  • Ensure firewall rules allow traffic on port 9200 or 9243 (Elastic Cloud)

Authentication Failed

If authentication fails:
  • Ensure the API key or user hasn’t been revoked or expired

Forbidden or Authorization Errors

If you see 403 Forbidden errors:
  • Verify the API key or user has the correct index privileges
  • Check that the role includes read and view_index_metadata privileges
  • Ensure the index pattern in the role configuration matches the indices you’re querying

SSL Certificate Errors

For self-hosted instances with SSL errors:
  • Ensure your SSL certificate is valid and not self-signed (or add it to trusted certificates)
  • Verify the hostname in the URL matches the certificate