We're updating the issue view to help you get more done. 

Logstash doesn't change year var after 20131231.

Description

Hi,

I'm running logstash 1.2.1 to fill elasticsearch indexes rotating daily the name.

The problem is that the index that should be named 2014.01.01 is 2013.01.01 and so on. There are no problem with months and days.

After restarting logstash, the index was created with the correct name.

Here is the config:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 input { file { path => ["/var/log/dns/*.log"] sincedb_path => "/usr/local/logstash/sincedb_logs_dns" start_position => "beginning" type => "dns_log" } } [...] output { elasticsearch { node_name => "Syslog DNS" index => "dns-%{+YYYY.MM.dd}" cluster => "syslog" bind_host => "elastic.server.com" } }

Environment

None

Status

Assignee

Logstash Developers

Reporter

Andres

Affects versions

1.2.1
1.3.2

Priority