Elasticsearch

Elasticsearch

  • Purpose: Connect to an Elasticsearch cluster for full-text search and log analytics.
  • When to use it: Best for analyzing application logs, event streams, and search indices stored in Elasticsearch or OpenSearch.
  • How to create it:
    1. Go to Data Sources and click Add.
    2. Select Elasticsearch.
    3. Name: Enter a unique name for this connection.
    4. URL: Cluster endpoint (e.g., http://localhost:9200 or your Elastic Cloud URL).
    5. Index: The index name to query (e.g., logs-*).
    6. Authentication: Choose one:
      • API Key: Paste the Base64-encoded Elasticsearch API key.
      • Username / Password: Basic auth credentials.
    7. Scan Limit: Maximum documents to fetch per query (default 10,000).
    8. Query: (Optional) DSL filter to narrow results on load.
    9. Click Test Connection to verify, then Save.

Elasticsearch Configuration