- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud
Leveraging Index Aliases in Elasticsearch 7.13
By using index aliases in Elasticsearch, we can search one or more indices using a friendly, non-permanent name. In this hands-on lab, you will create, use, and remove aliases in Elasticsearch.
Lab Info
Table of Contents
-
Challenge
Add the Alias "sample_data" to the Appropriate Indices
From the Kibana console, apply the
sample_dataalias to thekibana_sample_data_ecommerce,kibana_sample_data_flights, andkibana_sample_data_logsindices. -
Challenge
Add the Alias "othello" to the `shakespeare` Index with the Necessary Filtering
From the Kibana console, apply the
othelloalias, which should filter documents where theplay_name.keywordfield is "Othello", to theshakespeareindex. -
Challenge
Configure the "sample_data" Component Template and "sample_data_bank" Index Template with the Appropriate Aliases
From the Kibana console, do the following:
- Create the component template
sample_data, which should be configured to apply thesample_dataalias. - Create the
sample_data_bankindex template, which should:- Match indices that start with "accounts-"
- Be composed of the
sample_datacomponent template. - Include the
bankalias. - Be configured to create indices with one primary and zero replica shards.
- Create the component template
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.