Connect Easysearch to Kibana in Two Simple Steps
This guide shows how to make Kibana OSS recognize INFINI Easysearch by enabling Elasticsearch API compatibility mode, masquerading the version as 7.10.2, configuring Kibana to point to Easysearch, handling SSL verification and special characters in passwords, and verifying the connection through Kibana Dev Tools.
Background
Kibana checks the Elasticsearch version string; Easysearch reports versions like 1.x.x or 2.x.x, causing Kibana to reject the connection with the error "Unable to retrieve version information from Elasticsearch nodes".
Environment
INFINI Easysearch 2.x.x at 192.168.147.130:9200 Kibana OSS 7.10.2 at 192.168.147.130:5601 (OSS edition required)
Step 1 – Enable version compatibility in Easysearch
Edit easysearch.yml and append the following lines:
# Enable ES API compatibility mode
elasticsearch.api_compatibility: true
# Pretend to be ES 7.10.2
elasticsearch.api_compatibility_version: "7.10.2"Restart Easysearch and verify with curl:
curl -ku admin:YOUR_PASSWORD https://192.168.147.130:9200The response should contain "number" : "7.10.2", confirming the version mask is active.
Step 2 – Configure Kibana
Edit config/kibana.yml with the essential settings:
# Kibana listening port and host
server.port: 5601
server.host: "192.168.147.130"
# Point to Easysearch (HTTPS required)
elasticsearch.hosts: ["https://192.168.147.130:9200"]
# Easysearch credentials
elasticsearch.username: "admin"
elasticsearch.password: "changeme"
# Disable SSL verification for testing (use proper certificates in production)
elasticsearch.ssl.verificationMode: noneStart Kibana:
./bin/kibana --allow-rootIf the log shows [info][listening] Server running at http://0.0.0.0:5601, Kibana is up.
Verification
Open a browser at http://192.168.147.130:5601, go to Dev Tools → Console and run a simple query:
GET _search
{
"query": { "match_all": {} }
}The query succeeds, confirming the connection. In Stack Management the UI displays "Welcome to Stack Management 7.10.2", showing that Kibana fully recognizes the masqueraded version.
Common pitfalls
Kibana must be the OSS edition. The commercial version enforces stricter license checks that block Easysearch.
SSL verification. If Easysearch uses a self‑signed certificate, set elasticsearch.ssl.verificationMode: none (or configure proper certificates for production).
Special characters in passwords. Characters such as #, &, ^ must be wrapped in double quotes in the YAML file, otherwise parsing fails.
Summary
The essential configuration consists of two lines in easysearch.yml that make Easysearch present itself as Elasticsearch 7.10.2 at the API level, allowing Kibana OSS to interact transparently for data queries and index management.
elasticsearch.api_compatibility: true
elasticsearch.api_compatibility_version: "7.10.2"Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
Mingyi World Elasticsearch
The leading WeChat public account for Elasticsearch fundamentals, advanced topics, and hands‑on practice. Join us to dive deep into the ELK Stack (Elasticsearch, Logstash, Kibana, Beats).
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
