Hi,
I am using Elaasticsearch GA 5.0.0. I am tring to apply index template, and from this link I was able to get a tutorial with examples. Below is the sample template defined there.
PUT _template/template_1
{
"template": "te*",
"settings": {
"number_of_shards": 1
},
"mappings": {
"type1": {
"_source": {
"enabled": false
},
"properties": {
"host_name": {
"type": "keyword"
},
"created_at": {
"type": "date",
"format": "EEE MMM dd HH:mm:ss Z YYYY"
}
}
}
}
}
I would like to know what type1
defined there. Is this something like a name for grouping or has some relation with the index? Can I give it any name?
Thanks.