# Logstash not creating ES indexes

**URL:** https://discuss.elastic.co/t/logstash-not-creating-es-indexes/59154
**Category:** Logstash
**Created:** [August 29, 2016, 7:20am UTC](https://discuss.elastic.co/t/logstash-not-creating-es-indexes/59154 "2016-08-29T07:20:22Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![harpax](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/harpax/32/11652_2.png) [@harpax](https://discuss.elastic.co/u/harpax)
#### Post date: [August 29, 2016, 7:20am UTC](https://discuss.elastic.co/t/logstash-not-creating-es-indexes/59154/1 "2016-08-29T07:20:22Z")

</div>

Hi,

I have made an update from ES 1.4.x and Logstash 1.4.x to the current release versions (2.3.x) on a 3 node cluster. My old data is still available and with a few changes to the logstash.conf (deprecated functions/options) I got that running as well, but logstash is not creating indexes anymore. If I manually create the index the data is stored as expected -\> the forwarder seems to be ok as well as the filter section of the conf.

My output

```
output {
    elasticsearch { 
        hosts => ["172.16.16.01", "172.16.16.02", "172.16.16.03"]
        cluster => "mylog"
        index => "logstash-${app-name}-%{+YYYY.MM.dd}"
        document_type => "%{type}"
    }
}

```

The `cluster` option is not documented elsewhere, but I found [this thread](https://discuss.elastic.co/t/logstash-wont-create-index-in-es/24051/20?u=harpax) and gave it a try..

Thanks for any advice!

---

<div class="post-metadata">

### Author: ![harpax](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/harpax/32/11652_2.png) [@harpax](https://discuss.elastic.co/u/harpax)
#### Post date: [August 29, 2016, 11:06am UTC](https://discuss.elastic.co/t/logstash-not-creating-es-indexes/59154/2 "2016-08-29T11:06:19Z")

</div>

It was the problem [described here](https://discuss.elastic.co/t/logstash-send-all-messages-to-their-log-file-instead-of-elasticsearch/36971):

=\> solved

---

<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, 4:41am UTC](https://discuss.elastic.co/t/logstash-not-creating-es-indexes/59154/3 "2017-07-06T04:41:11Z")

</div>


