# Setup.template.name ignored

**URL:** <https://discuss.elastic.co/t/setup-template-name-ignored/197982>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [September 4, 2019, 6:10am UTC](https://discuss.elastic.co/t/setup-template-name-ignored/197982 "2019-09-04T06:10:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sjaak01](https://avatars.discourse-cdn.com/v4/letter/s/73ab20/32.png) [@Sjaak01](https://discuss.elastic.co/u/Sjaak01)\
**Post date:** [September 4, 2019, 6:10am UTC](https://discuss.elastic.co/t/setup-template-name-ignored/197982/1 "2019-09-04T06:10:54Z")

</div>

Hi,

I got the config below but filebeat is ignoring the custom name I want to set for the index and instead puts everything into filebeat-\*. I followed the Docs but apparently that information is incorrect.

If have also tried putting the settings under `setup.template.settings` but that doesn't work either.

```
output.elasticsearch:
  # Array of hosts to connect to.
  hosts: ["id.aws.found.io:9243"]
  output.elasticsearch.index: "awsfilebeat-%{[agent.version]}-%{+yyyy.MM}"
  setup.template.name: "awsfilebeat"
  setup.template.pattern: "awsfilebeat-*"

```

Kibana visualization settings are also ignored except for space.id, that one works.

```
setup.kibana:
  host: "localhost:5601"
  setup.dashboards.index: "awsfilebeat-*"
  space.id: "infra"

```

Under template settings the replicas setting is ignored as well.  
`index.number_of_replicas: 0`

What is the correct place to put the settings above? W

---

<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:** [October 2, 2019, 6:10am UTC](https://discuss.elastic.co/t/setup-template-name-ignored/197982/2 "2019-10-02T06:10:58Z")

</div>

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