Elasticsearch reindexing data

Hi!!
i want to reindex data to elasticsearch for weekly or monthly indices,because i have problem with java space (memory)
ps : i have one node
how can i do that plz ????

Hi @zmira_meriem.

Thank you !!

what mean ? here
i want to reindex data to elasticsearch for weekly or monthly

please provide more details here about your subject!!

you want to update index weekly something like or diff?

Thanks
HadoopHelp

hi @rameshkr1994 thnx for u r reply,, by default elasticsearch collect data daily, i want to collect weekly or monthly

Hi @zmira_meriem.

you need to Config logstash.conf file and schedule IT what You want ???

like this : schedule => "*/20 * * * * *" i fiven for 20 min in my use case.

Thanks
HadoopHelp

@rameshkr1994
i don't use logstash i use just elasticsearch

Hi @zmira_meriem.

Thanks

but how you are collecting data daily ?

could you please share the code here

This is something diff i think!!!

Thanks
HadoopHelp

@zmira_meriem,

It could be worth looking into using Index Lifecycle Management, which can be setup to switch an alias over to a new index following either a time based or size based rule (or both). There is a guide for how to migrate to using ILM too.