# Changing index template settings from default

**URL:** https://discuss.elastic.co/t/changing-index-template-settings-from-default/175273
**Category:** Beats
**Tags:** filebeat
**Created:** [April 3, 2019, 8:53pm UTC](https://discuss.elastic.co/t/changing-index-template-settings-from-default/175273 "2019-04-03T20:53:05Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jkaoiadjmdna](https://avatars.discourse-cdn.com/v4/letter/j/858c86/32.png) [@jkaoiadjmdna](https://discuss.elastic.co/u/jkaoiadjmdna)
#### Post date: [April 3, 2019, 8:53pm UTC](https://discuss.elastic.co/t/changing-index-template-settings-from-default/175273/1 "2019-04-03T20:53:06Z")

</div>

I'd like to adjust the defaults on the generally default configuration of filebeat to reduce shards from the default of 5 to 1. Do I need to configure filebeats for this change to apply going forward, or can I do this using the ES `PUT _template/template_1`-style API? I see the default template index in ES, but am unclear the order that these are created/accessed. Any other things to be aware of when modifying filebeat settings like this?

I'm a bit new to it all, but preparing an existing cluster for a migration to Elastic Cloud (got a lot of cleanup to do first) so this is one aspect I want to tune sooner than later. I read the docs about this, but couldn't get a confident answer if a template index is created once by filebeat, or each time an index is added (daily, by the defaults), etc.

---

<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: [May 1, 2019, 8:53pm UTC](https://discuss.elastic.co/t/changing-index-template-settings-from-default/175273/2 "2019-05-01T20:53:14Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
