Search Across Multiple Clusters in Elasticsearch 7.13

1 hour
  • 3 Learning Objectives

About this Hands-on Lab

It is not uncommon to have multiple Elasticsearch clusters whenever you’re dealing with several use cases that have different performance requirements. To make it easier to interact with multiple clusters, you can leverage cross-cluster search. In this hands-on lab, you will get to search across multiple Elasticsearch clusters.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Configure Cross-Cluster Search on the Primary Server

From the Kibana console on es1, add a remote cluster setting for both the es2 and es3 clusters.

Execute the Cross-Cluster Search on the Secondary Servers

From the Kibana console on es1, query the metricbeat-7.13.4 dataset on es2 and es3.

Execute the Cross-Cluster Search on All Clusters Simultaneously

From the Kibana console on es1, query the metricbeat-7.13.4 dataset on es1, es2, and es3 simultaneously with a single query.

Additional Resources

Logging In to the Elastic Environment

  1. Open a new browser tab and navigate to the public IP address of the es1 node provided on the lab page (e.g., http://public_ip).
  2. Log in using the username elastic and password elastic_acg.

Lab Scenario

You are a system administrator who is using multiple Elasticsearch clusters to gather observability data from different geographical regions. You've been tasked with establishing cross-cluster search amongst your 3 clusters so that they can all be queried from 1 cluster. You will need to configure the es1 cluster to cross-cluster search both the es2 and es3 clusters. To test this, you should query the metricbeat-7.13.4 dataset on es2 and es3 from es1 to make sure cross-cluster search is working as expected.

What are Hands-on Labs

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.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?