Convert Daily indices to weekly indexes


(Maddy M) #1

Hi,

I see existing example for converting to monthly. But, I am looking for an example to convert daily indices to weekly indices.

Thanks in advance.

Maddy.


(Mark Walkom) #2

Elasticsearch doesn't do the conversion here, it puts the documents/events where ever the API request states.

What are you using to ingest the data?


(Maddy M) #3

Hi,

I am using logstash. I have already updated logstash to create weekly indicies from now.

My actual question is, how to convert existing daily indicies in Elasticsearch to weekly indicies?


(Mark Walkom) #4

You will need to run a reindex request/