Index naming problem


I’m trying to insert documents into an Elasticsearch index from a filebeat, through Logstash processing.

My Logstash config looks like this:

input {

beats {

port => 5044



output {

elasticsearch {

hosts => [“localhost:9200”]

index => [“logstash-%{+YYYY.MM.dd}”]


The problem I have is that Elasticsearch then creates the index named:


And I can’t find any data in this index.
Does anyone know what’s wrong with this config?

Question moved to #logstash.
Please format your code using </> icon as explained in this guide. It will make your post more readable.
Or use markdown style like:


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