- Lab
- A Cloud Guru
Configure Elasticsearch Clusters for Cross-Cluster Search
It often makes more sense to use multiple Elasticsearch clusters instead of a single behemoth cluster, particularly when you are working with different types of data. When you use multiple clusters, Elasticsearch still allows you to search all of your data at once using cross-cluster search. In this hands-on lab, you will: * Configure cross-cluster search between 3 clusters * Execute searches against multiple clusters in a single request
Path Info
Table of Contents
-
Challenge
Configure cross-cluster search on the "accounts_1" cluster.
Use the Kibana console tool to execute the following:
PUT _cluster/settings { "persistent": { "cluster": { "remote": { "accounts_2": { "seeds": [ "10.0.1.103:9300" ] }, "accounts_3": { "seeds": [ "10.0.1.105:9300" ] } } } } }
-
Challenge
Search all 3,000 documents across the 3 clusters without returning any documents.
Use the Kibana console tool to execute the following:
GET bank,accounts_2:bank,accounts_3:bank/_search?size=0
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.