# ERROR instance/beat.go:906

**URL:** <https://discuss.elastic.co/t/error-instance-beat-go-906/238611>\
**Category:** Вопросы на русском языке\
**Created:** [June 25, 2020, 7:04am UTC](https://discuss.elastic.co/t/error-instance-beat-go-906/238611 "2020-06-25T07:04:46Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Igor\_Motov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/igor_motov/32/45193_2.png) [@Igor\_Motov](https://discuss.elastic.co/u/Igor_Motov)\
**Post date:** [June 25, 2020, 2:36pm UTC](https://discuss.elastic.co/t/error-instance-beat-go-906/238611/2 "2020-06-25T14:36:21Z")

</div>

> [@Filebeat Index Issue - template pattern / name](https://discuss.elastic.co/t/filebeat-index-issue-template-pattern-name/133738/2):
>
> Your config seems to be incorrect. setup.template.\* should not go under output.elasticsearch. It stands in the root of the config, as seen here: output.elasticsearch: # Array of hosts to connect to. hosts: ["192.168.1.199:9200"] index: "desktop-%{[beat.version]}-%{+yyyy.MM.dd}" indices: - index: "critical-%{[beat.version]}-%{+yyyy.MM.dd}" when.contains: message: "CRITICAL" - index: "error-%{[beat.version]}-%{+yyyy.MM.dd}" when.contains: message: "ERR"…

---

_[View the full topic](https://discuss.elastic.co/t/error-instance-beat-go-906/238611)._
