Dynamic index not working according to month

Hi,

I have below define configuration
input {
beats {
port => "5051"
type => "haproxy_66"
}
}
output {
if [type] == "haproxy_66" {
elasticsearch {
hosts => "127.0.0.1:9200"
index => "haproxy_66-%{+YYYY-MM-dd}"
}
stdout{
codec => "rubydebug"
}
}

Accordingly index will be create according to date and month, according to dynamic day date, index create, but as month change from October to November, Index not created.

curl 'http://localhost:9200/_cat/indices?v'
yellow open haproxy_66-2017-10-29 3nF7IMAAQYu5EnGMiklnMg 5 1 90025 0 85.2mb 85.2mb
yellow open haproxy_66-2017-10-31 M4l8aXMhQYmawOU8b4ZXXw 5 1 655149 0 571.8mb 571.8mb
yellow open haproxy_66-2017-10-30 FhcMKVHhR4aVxZfD1lz5Zg 5 1 577437 0 507.1mb 507.1mb

Can anyone help me on it?

Solved

Could you edit your answer and give the solution?

Please format your code using </> icon as explained in this guide. It will make your post more readable.

Or use markdown style like:

```
CODE
```

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