Elasticsearch 5.5 not create index from logstash tcp

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.

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