What you’ll get: ewake can query your Elasticsearch indices to retrieve logs, correlate log patterns with alerts, and surface relevant data during investigations, without requiring manual query construction.
Prerequisites
- An Elasticsearch instance (Elastic Cloud or self-hosted)
- Admin access to create an API key
Configuration
1
Create an API key in Kibana
In Kibana, go to Stack Management → Security → API Keys → click Create API key.Set the key privileges to read-only on the indices ewake should access:
read lets ewake search your logs; view_index_metadata lets it discover which indices, fields and data streams exist. No cluster or Kibana privileges are needed.Copy the generated API key immediately, it won’t be shown again.2
Open the Elasticsearch integration in ewake
In your ewake dashboard, go to Integrations and click the Elasticsearch tile under Add more. The connect panel opens.

3
Enter your credentials
4
Test and save
Click Test connection to verify the connection, then click Save.
Elasticsearch is connected. Ewake can now query your logs during investigations.
Behind Cloudflare Access or a proxy
If your Elasticsearch cluster sits behind an authenticating proxy, add the credentials it expects under Custom headers in the same dialog. For a Cloudflare Access service token that means two headers:
Ewake sends these with every request. Values are stored encrypted, and are not shown again after saving, leaving the fields empty when you edit the connection keeps the headers you already saved.
Without this, a connection test against a proxied endpoint fails with an authentication or redirect error even though the URL and API key are both correct. It’s the most common cause of a test failing on a working instance.
Connect more than one cluster
Elasticsearch is a multi-instance integration: connect as many clusters as you need, one at a time. Give each cluster a Cluster name that tells them apart, for exampleeu, us. Letters, digits, - or _, starting with a letter or digit, max 64 characters.
Each cluster keeps its own URL, API key, optional Kibana URL and custom headers. Ewake searches across all connected clusters during an investigation. To add one, go to Integrations → Elasticsearch → Configure. The clusters you already connected are listed under Connected clusters, where you can remove one on its own. Fill in the form under Add clusters, click Test connection, then Add clusters.
Ewake uses read-only access. It never writes to or modifies your Elasticsearch indices.