# Why index no automatic create

**URL:** <https://discuss.elastic.co/t/why-index-no-automatic-create/122628>\
**Category:** Elasticsearch\
**Created:** [March 6, 2018, 2:33am UTC](https://discuss.elastic.co/t/why-index-no-automatic-create/122628 "2018-03-06T02:33:37Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Champion\_Xie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/champion_xie/32/71770_2.png) [@Champion\_Xie](https://discuss.elastic.co/u/Champion_Xie)\
**Post date:** [March 6, 2018, 2:36am UTC](https://discuss.elastic.co/t/why-index-no-automatic-create/122628/3 "2018-03-06T02:36:09Z")

</div>

[2018-03-06T10:01:49,960][WARN][logstash.outputs.elasticsearch] Could not index event to Elasticsearch. {:status=\>404, :action=\>["index", {:\_id=\>nil, :\_index=\>"logstash-webnginx-2018.03.06", :\_type=\>"doc", :\_routing=\>nil}, #LogStash::Event:0x1f5ffbd7], :response=\>{"index"=\>{"\_index"=\>"logstash-webnginx-2018.03.06", "\_type"=\>"doc", "\_id"=\>nil, "status"=\>404, "error"=\>{"type"=\>"index\_not\_found\_exception", "reason"=\>"no such index and [action.auto\_create\_index] ([.security,.monitoring\*,.watches,.triggered\_watches,.watcher-history\*]) doesn't match", "index\_uuid"=\>"_na_", "index"=\>"logstash-webnginx-2018.03.06"}}}}

i have already in elasticsearch.yml add content "action.auto\_create\_index: .security,.monitoring\*,.watches,.triggered\_watches,.watcher-‌​history\*"

---

_[View the full topic](https://discuss.elastic.co/t/why-index-no-automatic-create/122628)._
