# Shard Configuration via Puppet Module

**URL:** <https://discuss.elastic.co/t/shard-configuration-via-puppet-module/20381>\
**Category:** Elasticsearch\
**Created:** [October 22, 2014, 2:22pm UTC](https://discuss.elastic.co/t/shard-configuration-via-puppet-module/20381 "2014-10-22T14:22:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jose\_Andres](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@Jose\_Andres](https://discuss.elastic.co/u/Jose_Andres)\
**Post date:** [October 22, 2014, 2:22pm UTC](https://discuss.elastic.co/t/shard-configuration-via-puppet-module/20381/1 "2014-10-22T14:22:52Z")

</div>

Hi,

Does the Puppet module allows configuration of the shards for an index? I  
have Logstash sending data to Elasticsearch and the default of 5 shards is  
set; can I change this via Puppet?

Or, can I set the shards and replicas in the Logstash conf file?

Thank you,  
-Jose Andres

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/e62dbda8-d825-4e21-b9ea-5277cac25ca9%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/e62dbda8-d825-4e21-b9ea-5277cac25ca9%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 12:54am UTC](https://discuss.elastic.co/t/shard-configuration-via-puppet-module/20381/2 "2017-07-06T00:54:26Z")

</div>

Closed on July 6, 2017, 12:54am UTC


