Index naming problem


(Johan Landerholm) #1

Hi,
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:
logstash-0018.01.16
And I can't find any data in this index.

Does anyone know what's wrong with this config?


(David Pilato) #2

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:

```
CODE
```

(system) #3

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