# Create elasticsearch index

**URL:** https://discuss.elastic.co/t/create-elasticsearch-index/152721
**Category:** Elasticsearch
**Created:** [October 16, 2018, 8:53pm UTC](https://discuss.elastic.co/t/create-elasticsearch-index/152721 "2018-10-16T20:53:15Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![aliyesami](https://avatars.discourse-cdn.com/v4/letter/a/ecb155/32.png) [@aliyesami](https://discuss.elastic.co/u/aliyesami)
#### Post date: [October 16, 2018, 8:53pm UTC](https://discuss.elastic.co/t/create-elasticsearch-index/152721/1 "2018-10-16T20:53:15Z")

</div>

I think elasticsearch 6.4 is very different from 6.1 since the commands working in 6.1 doesn't work in 6.4.  
how can I create a simple index to test in 6.4? the following command is failing

curl -X PUT '[http://node1:9200/testidx](http://node1:9200/testidx)' -H 'Content-Type: application/json' -d '{"acknowledged":"true"}'

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [October 16, 2018, 8:55pm UTC](https://discuss.elastic.co/t/create-elasticsearch-index/152721/2 "2018-10-16T20:55:37Z")

</div>

> [@aliyesami](#):
>
> the following command is failing

Failing how?

---

<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: [November 13, 2018, 8:55pm UTC](https://discuss.elastic.co/t/create-elasticsearch-index/152721/3 "2018-11-13T20:55:38Z")

</div>

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