I am new to elasticsearch. I have only one shard with no replica, this shard gets default shard size. Now I want to add shard size explicitly by using template. But when I search for this here, it don't have any property to set shard size. Am I missing something? Is there any other way to do it? And what is default size for a shard? Below is my current template,
{
"index_patterns": ["centralized-logging-index-*"],
"settings": {
"number_of_shards": 1,
"number_of_replicas": 0
},
"mappings": {
}
}
I am using elasticsearch on AWS.