jkerry / sensu-go-elasticsearch

an elasticsearch metric handler for sensu go
MIT License
2 stars 5 forks source link

Support calender weeks as time_index #15

Closed rgarcia89 closed 2 years ago

rgarcia89 commented 4 years ago

With the current implementation it is not possible to create a timestamp that looks like this:

indexname-202040 where 2020 stands for the year and the 40 for the calender week.

As we do not generate that huge amount of logs per day, I would like to change it to weekly based indicies. However, this does not seem to be possible with the current time_index implementation.