Creating Indices in Elasticsearch 7.13

30 minutes
  • 3 Learning Objectives

About this Hands-on Lab

Before you can ingest any data into Elasticsearch, you first need to construct indices for a particular dataset. In this hands-on lab, you will get to define indices in a pre-built Elasticsearch environment in order to prepare the cluster to ingest some data.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Create the leads_b2b-000001 Index

From the Kibana console, craft a request to create the leads_b2b-000001 index with 1 primary and 0 replica shards.

Create the leads_b2c-000001 Index

From the Kibana console, craft a request to create the leads_b2c-000001 index with 1 primary and 0 replica shards.

Create the sales_b2c-000001 Index

From the Kibana console, craft a request to create the sales_b2c-000001 index with 1 primary and 0 replica shards.

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 in charge of all the Elasticsearch clusters at your company. The business intelligence office wants to ship some sales and leads data to a single-node proof of concept cluster for some testing. You will need create the following indices for them:

  • leads_b2b-000001
  • leads_b2c-000001
  • sales_b2c-000001

Since this is a single-node cluster, each index should be created with 1 primary and 0 replica shards in order to maintain a green cluster state.

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?