# Not able to create INDEX in ES

**URL:** <https://discuss.elastic.co/t/not-able-to-create-index-in-es/1637>\
**Category:** Logstash\
**Created:** [June 1, 2015, 12:39pm UTC](https://discuss.elastic.co/t/not-able-to-create-index-in-es/1637 "2015-06-01T12:39:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dan](https://avatars.discourse-cdn.com/v4/letter/d/eada6e/32.png) [@Dan](https://discuss.elastic.co/u/Dan)\
**Post date:** [June 1, 2015, 12:39pm UTC](https://discuss.elastic.co/t/not-able-to-create-index-in-es/1637/1 "2015-06-01T12:39:59Z")

</div>

Hi All,

I am given below twitter input and output code in my logstash-config file.

input {  
twitter {  
# add your data  
consumer\_key =\> ""  
consumer\_secret =\> ""  
oauth\_token =\> ""  
oauth\_token\_secret =\> ""  
full\_tweet =\> true  
keywords =\> ["XXXX"]  
}  
}

output {  
elasticsearch\_http {  
host =\> "localhost"  
index =\> "twitter24"  
index\_type =\> "tweet1"  
}  
}

Step2:  
logstash agent --debug -f logstash-simple.conf

I run above command in logstash

It run properly without any error.

Step3:  
curl localhost:9200/\_cat/indices?v

I run this command in CURL  
But it's not showing any index which i given in twitter output config file.

Please help me with this issue.

Thanks,  
Dan.

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [June 1, 2015, 12:50pm UTC](https://discuss.elastic.co/t/not-able-to-create-index-in-es/1637/2 "2015-06-01T12:50:03Z")

</div>

> logstash agent --debug -f logstash-simple.conf

> I run above command in logstash

> It run properly without any error.

What _does_ it say? Specifically regarding the Elasticsearch interactions.

Please disable the elasticsearch\_http output (which is deprecated in favor of elasticsearch with `protocol => http`) for now and make sure you get the data you expect with e.g. the stdout output so that we narrow things down to being a problem between Logstash and ES.

---

<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, 5:38am UTC](https://discuss.elastic.co/t/not-able-to-create-index-in-es/1637/3 "2017-07-06T05:38:53Z")

</div>


