Getting month from weekyear date in logstash output

Hello.

I use this kind of date format for index naming index => "logstash-%{+xxxx.MM-ww}".
And it had been working for last year till today. When index name should have "2019.01-01" in date (year.month-week) it has "2019.12-01".
Does it working by design or it is some kind of mistake?

I think it is working as designed. The week in which January first occurred started in December.

Reading through this might help. Or not :slight_smile:

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