- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud

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

Lab 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
About the author
Real skill practice before real-world application
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.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.