# Elasticsearch 5.5 not create index from logstash tcp

**URL:** https://discuss.elastic.co/t/elasticsearch-5-5-not-create-index-from-logstash-tcp/93183
**Category:** Elasticsearch
**Created:** [July 14, 2017, 12:10pm UTC](https://discuss.elastic.co/t/elasticsearch-5-5-not-create-index-from-logstash-tcp/93183 "2017-07-14T12:10:55Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Fabrizio\_Rosati](https://avatars.discourse-cdn.com/v4/letter/f/e56c9b/32.png) [@Fabrizio\_Rosati](https://discuss.elastic.co/u/Fabrizio_Rosati)
#### Post date: [July 14, 2017, 12:10pm UTC](https://discuss.elastic.co/t/elasticsearch-5-5-not-create-index-from-logstash-tcp/93183/1 "2017-07-14T12:10:55Z")

</div>

Hi All ,  
i have configured logstash to use tcp protocol for give the json message.

input { tcp {  
port =\> 9001  
codec =\> json  
type =\> "test-tcp-1"  
}}  
output {  
elasticsearch {  
hosts =\> ["127.0.0.1:9200"]  
index =\> "logstash-%{type}-%{+YYYY.MM.dd}"  
}  
}  
filter{  
json { source =\> "message" }  
}

The message has been received from loghstash with successfully but elasticsearch not create a index ! Why ?

Many thanks.

---

<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: [August 11, 2017, 12:10pm UTC](https://discuss.elastic.co/t/elasticsearch-5-5-not-create-index-from-logstash-tcp/93183/2 "2017-08-11T12:10:57Z")

</div>

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