# Decrease the number of shards

**URL:** <https://discuss.elastic.co/t/decrease-the-number-of-shards/86332>\
**Category:** Elasticsearch\
**Created:** [May 18, 2017, 8:43pm UTC](https://discuss.elastic.co/t/decrease-the-number-of-shards/86332 "2017-05-18T20:43:07Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![mitabrev](https://avatars.discourse-cdn.com/v4/letter/m/a88e57/32.png) [@mitabrev](https://discuss.elastic.co/u/mitabrev)\
**Post date:** [May 19, 2017, 8:31am UTC](https://discuss.elastic.co/t/decrease-the-number-of-shards/86332/5 "2017-05-19T08:31:28Z")

</div>

I'm somewhere here:

```
curl -XGET 'localhost:9200/_template/logstash?pretty'
{
  "logstash" : {
"order" : 0,
"template" : "logstash-*",
"settings" : {
  "index" : {
    "number_of_shards" : "2"
  }
},
"mappings" : { },
"aliases" : { }
  }
}

```

But my indices:

```
curl -XGET 'localhost:9200/smsc-*/_settings?pretty'

  "smsc-2017.05.01" : {
    "settings" : {
      "index" : {
        "creation_date" : "1495180973719",
        "number_of_shards" : "5",
        "number_of_replicas" : "1",
        "uuid" : "67XydLUlQkqlm1KhxBFFrg",
        "version" : {
          "created" : "5040099"
        },
        "provided_name" : "smsc-2017.05.01"
      }
    }
  }

```

So it didn't have any effect. Or is it cause provided name is different?

Thank you!

---

_[View the full topic](https://discuss.elastic.co/t/decrease-the-number-of-shards/86332)._
