Please help me to understand mapping templates

Why don't you use Kibana? It guides you through the creation.

You don't - component templates are not applied to indexes directly but are used in an index template. The index templates are then applied to an index pattern

1 Like