Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

Elasticsearch templates

An index template is a way to tell Elasticsearch how to configure an index when it is created.

For data streams, the index template configures the stream’s backing indices as they are created.
Templates are configured prior to index creation. When an index is created – either manually or through indexing a document – the template settings are used as a basis for creating the index.

There are two types of templates:

  • index templates and
  • component templates.

Component templates are reusable building blocks that configure mappings, settings, and aliases. While you can use component templates to construct index templates, they aren’t directly applied to a set of indices.

Index templates can contain a collection of component templates, as well as directly specify settings, mappings, and aliases.

The following requests create two component templates

DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.