- Lab
- A Cloud Guru
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.
Path Info
Table of Contents
-
Challenge
Add the Alias "sample_data" to the Appropriate Indices
From the Kibana console, apply the
sample_data
alias to thekibana_sample_data_ecommerce
,kibana_sample_data_flights
, andkibana_sample_data_logs
indices. -
Challenge
Add the Alias "othello" to the `shakespeare` Index with the Necessary Filtering
From the Kibana console, apply the
othello
alias, which should filter documents where theplay_name.keyword
field is "Othello", to theshakespeare
index. -
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_data
alias. - Create the
sample_data_bank
index template, which should:- Match indices that start with "accounts-"
- Be composed of the
sample_data
component template. - Include the
bank
alias. - Be configured to create indices with one primary and zero replica shards.
- Create the component template
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.